ShMiL
02-28-2003, 03:16 PM
I've done this hundreds of times and never got stuck with it!
I want to change the value of the yes/no field in the DB(access) - default is NO.
I tried these in my SQL statement ("is_active"=name of field):
is_active=True
is_active=true
is_active='True'
is_active='true'
is_active=1
is_active=0
is_active='yes'
is_active='Yes'
Nothing changed it!!!!!!!!!
I tried to display this field, an it printed: False.
I don't know what to do with it! Anyone?
PS
the problem is with checkbox, but in order to find out the format, I first tried to manually, without any form, to change the value of is_active.
Thanks!
I want to change the value of the yes/no field in the DB(access) - default is NO.
I tried these in my SQL statement ("is_active"=name of field):
is_active=True
is_active=true
is_active='True'
is_active='true'
is_active=1
is_active=0
is_active='yes'
is_active='Yes'
Nothing changed it!!!!!!!!!
I tried to display this field, an it printed: False.
I don't know what to do with it! Anyone?
PS
the problem is with checkbox, but in order to find out the format, I first tried to manually, without any form, to change the value of is_active.
Thanks!