[font=Arial ]
I am creating a checkbox list to display some information. When I test the page it gives me this error.
Sub or Function not defined
I'm not sure why so I'm hoping you can tell me. here is the code.
<%sdpmdh = ""%><%sdpmdh2 = ""%><%sdpmdh3 = ""%>
<% If orecord("DPMD_hardware") Like "%~cpu1~%" Then sdpmdh = "checked" End If %>
<% If orecord("DPMD_hardware") Like "%~cpu2~%" Then sdpmdh2 = "checked" End If%>
<% If orecord("DPMD_hardware") Like "%~cpu3~%" Then sdpmdh3 = "checked" End If%>
<td align=right width="53%">
[size=2]<strong>DPMD Hardware</strong> [size=2]CPU
<input type="checkbox" name="DPMDh1" value="~CPU1" <%=sdpmdh%>>
<input type="checkbox" name="DPMDh12" value="~CPU2" <%=sdpmdh2%>>
<input name="DPMDh13" type="checkbox" value="~CPU3" <%=sdpmdh3%>>
[/font=Arial]
¤¤¤¤¤¤¤¤¤¤¤¤
Jackel23
¤¤¤¤¤¤¤¤¤¤¤¤