Mazinger Posted January 25, 2012 Share Posted January 25, 2012 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 databaseTillgä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 Link to comment Share on other sites More sharing options...
Mazinger Posted January 27, 2012 Author Share Posted January 27, 2012 Hi again, Please can somebody help me with this issue. Kind regards,Eric Link to comment Share on other sites More sharing options...
justsomeguy Posted January 27, 2012 Share Posted January 27, 2012 Check the value of osynlig to make sure it is set to what you're checking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.