Click on a button must change table value (1 Viewer)

The_Freak

New member
Local time
Today, 22:57
Joined
May 16, 2001
Messages
8
I have a table whit a field "yes/No"
The defaultvalue is set to "No"

I have a form with a button

Now when i click the button i want that the the value of the checkbox change from "No" to "Yes" automatticly. Anyone know how to do this?
 

charityg

Registered User.
Local time
Today, 22:57
Joined
Apr 17, 2001
Messages
634
If you want it to toggle the value back and forth between yes and no then I would use this procedure in the onclick event of the command button.

If checkbox=0 then
checkbox=-1
else
checkbox=0
End If
 

Users who are viewing this thread

Top Bottom