Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: inserting checkboxes into yes/no field in Access

by simon.proctor (Vicar)
on Apr 21, 2006 at 08:59 UTC ( #544820=note: print w/ replies, xml ) Need Help??

in reply to inserting checkboxes into yes/no field in Access

A yes/no field in access works by you inserting a 1 or a 0. So don't try to insert text. Check your vars and then insert a '1' as appropriate.

However, recall that if a checkbox is not checked then it won't appear in your CGI query variables.

Unless you can switch to radio buttons (so testing for the 'off') you'll need to makre sure you have the correct logic. Ie: if this query variable isn't present then insert 0.

Or alternatively ensure all your yes/no fields default to 'off'.



Comment on Re: inserting checkboxes into yes/no field in Access

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://544820]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2015-11-24 22:34 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (664 votes), past polls