Just to clarify what I mean here:
In HTML, a checkbox is "checked" when the checked attribute is added, eg:
<input type="checkbox" name="chkMyCheckBox" value=1" checked>
However, when the form is posted, only the *value* is sent to the server,
not the checked attribute. So the value (in this case "1") is being
persisted to the database, which may alter the state of the field in the
database.
Cheers
Ken
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:eg**************@TK2MSFTNGP10.phx.gbl...
: Are you talking about a HTML form?
:
: If so, what is the *value* of the checkbox, since that's what you're
saving
: to the database.
:
: Cheers
: Ken
:
: "Jack Buick" <ja*******@earthlink.net> wrote in message
: news:%2****************@TK2MSFTNGP09.phx.gbl...
: : Talk about a basic question, but this is making me nuts.
: : I have a form with several check boxes ... they are all set to default
: : to "unchecked." The db also defaults to unchecked. But, as soon as we
: : hit the "form1.recordset.addnew" all of the cb's change themselves to
: : "checked." ???
: : Thanks in advance
: : Jack
: :
: : *** Sent via Developersdex
http://www.developersdex.com ***
: : Don't just participate in USENET...get rewarded for it!
:
: