ASP page connecting to access database.
I have the following code which checks to see if a table has a checkbox ticked and if so, writes something if not writes something else.
<%
If rsCompleted.Fields.Item("i
sCompleted
").value = 0 then
response.write("call is closed")
else
response.write("call is open")
end if
%>
ive tried swapping the 0 for the -1 and this works - looks like only the first part of the code is working.
Can someone please help?
Start Free Trial