I am trying to look at a checkbox value in an access database and if False show no text and if True show static text. I have written the following code but can't get it to work. The code is pulling the true or false checkbox value from the db since I can get it to display on page. Can you help get this code working?
<%
if(String(report_fields.Fields.Item("do_not_contact").Value)==String("False"))
{Response.write("");
}
{Response.write("Do Not Contact");
}
%>
Thanks
<%
if(String(report_fields.Fields.Item("do_not_contact").Value)==String("False"))
{Response.write("");
}
{Response.write("Do Not Contact");
}
%>
Thanks