I wonder how to save the checkbox value after the user click. I am beginner that I don’t even know what kind of value it should save. Can it be 1 or 0 for check or not?
<% @ Language=VBScript %>
<%
cbx=Request.Form("checkbox")
MyPath=Server.MapPath("yourDB.mdb") %>
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=" & MyPath
SQL = "INSERT INTO *table* (*value*) VALUES ('"&cbx&"')"
Set r = conn.Execute(SQL)
%>
The best way to trouble shoot something like this is before you go ahead and try to insert the actual data, make sure your receiving the variable from your form.