Hello everyone,
I have a problem with an ASP porgram and I will be very glad for your assist.
In the database, I have table (BOK) and column (STATUS), this column is a databite with only 1 and 0 values.
I have two checkbox in the HTML code.
This work very well to put from 0 to 1 in the database
Tillgänglig <input type="checkbox" name="synlig" value ="on">
<%
If synlig = "on" Then
rsBok("status") = True
End If %>
But in other checkbox, I try to put the same bok från 1 to 0 but don´t work
Otillgänglig <input type="checkbox" name="osynlig" value ="on">
<%
If osynlig = "on" Then
rsBok("status") = False
End If %>
Please can you help me to solve this problem
Kind regards,
Eric