neillovell
Programmer
Hi all,
I have a checkbox whose value is that of a number in a database (a simple integer).
The problem is I want to assign this value to a variable for comparison. So I can say if the checkbox is checked, update the record where the unique id matches the value of the checkbox (I have lots of checkboxes each with a number).
But if I do anything other than Dim RecordID (say 'As Integer' or variant or string) the page will not load. Any ideas?
<input type="Checkbox" name="EditPostItCheckboxField<%=Counter%>" value='<%= RecSet("UniqueID" %>' id="EditPostIt<%=Counter%>">
Dim RecordID
RecordID = request.form("EditPostItCheckboxField1"
I have a checkbox whose value is that of a number in a database (a simple integer).
The problem is I want to assign this value to a variable for comparison. So I can say if the checkbox is checked, update the record where the unique id matches the value of the checkbox (I have lots of checkboxes each with a number).
But if I do anything other than Dim RecordID (say 'As Integer' or variant or string) the page will not load. Any ideas?
<input type="Checkbox" name="EditPostItCheckboxField<%=Counter%>" value='<%= RecSet("UniqueID" %>' id="EditPostIt<%=Counter%>">
Dim RecordID
RecordID = request.form("EditPostItCheckboxField1"