how to get the value of a checkbox into an access db
hi guys
i have a form that i made
that has a checkbox on it
i want the value of the checkbox (on or off)
to go into an access database
the database field is a yes/no field
and i tried it with changing the value to be
a boolean variable but i got a data or type mismatch
does anyone know how to update a yes/no field?
my code is approx:
INSERT INTO [table] ([checkboxVal]) VALUES ([Request.form("checkbox")])
dim blnChk
blnChk = true
INSERT INTO [table] ([checkboxVal]) VALUES (blnChk)
where the asp code is outside the " ", so you don't need
to point that out
Bookmarks