Hi. What am I doing wrong.
Here is the code:
First bit
<%
Dim STORY
Dim STORY_numRows
Dim checkED
checkED = ""
Set STORY = Server.CreateObject("ADODB.Recordset")
STORY.ActiveConnection = MM_consccs_STRING
STORY.Source = "SELECT * FROM HistoryOfSCCS ORDER BY SubmitDate DESC"
STORY.CursorType = 0
STORY.CursorLocation = 2
STORY.LockType = 1
STORY.Open()
STORY_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
STORY_numRows = STORY_numRows + Repeat1__numRows
%>
Bit for checkbox:
<If STORY("fld_Show") = "True" Then checkbox = "checkED">
&nbs p; &n bsp; <input name="checkbox" type="checkbox" value="true" <%= checkED %>/>
I am sure it's something very simple but I am unable to see it.
Thanks for all your help.
Andy