PDA

View Full Version : check box


kendel
05-27-2003, 04:57 PM
Hi,

Want to set the value of a check box based on it's value in the database. For example:

Q5. Are you (checkbox) single checkbox(married)

I have "status" filed in the databse corresponding to this question. When the form is loaded, if thevalue of the status=1, I want the single checkbox is checked, and vice versa...

Can someone please help me with this?

Thanks

Frank
05-27-2003, 09:00 PM
Here's an example of what you are trying to do. Hopefully this might help you a bit:


http://www.aspfree.com/asp/startpage.asp?id=19



HTH!
Frank

kendel
05-27-2003, 10:52 PM
Thanks Frank. That helps!