B
Bill Johnson
I've searched for an answer to this.
I have four fields on a form that require Yes/No answers. Originally I used
check boxes but the user wanted to force a response, or at the very least to
show a default "No" so that the responses wouldn't be overlooked.
I'm using the response to the four questions in a series of tests to prove
or disprove whether a property lease can be treated as an operating or
capital lease.
When I set the default to No, the value in the field is 0. If the User
types a No, the value in the field is "False" (although it appears on the
form as "No") If the user types "Yes" the value in the field becomes "True"
I can live with that, so I set the default to False - the value if not
modified by the user is still 0. So I set the default to "False" now it
appears on the form as "False"
I'm confused. I can't code to expect a 0 when the value may be 0 or False
or No... There must be a way to set up the Yes/No field on a form, provide
a default and know what values to expect.
Another thing, I do not have a table attached to this form. It's meant to
be used to make a determination only, no data needs to be saved. Not a
database at all, just a tiny stand alone tool.
Help please.
Thanks Bill
I have four fields on a form that require Yes/No answers. Originally I used
check boxes but the user wanted to force a response, or at the very least to
show a default "No" so that the responses wouldn't be overlooked.
I'm using the response to the four questions in a series of tests to prove
or disprove whether a property lease can be treated as an operating or
capital lease.
When I set the default to No, the value in the field is 0. If the User
types a No, the value in the field is "False" (although it appears on the
form as "No") If the user types "Yes" the value in the field becomes "True"
I can live with that, so I set the default to False - the value if not
modified by the user is still 0. So I set the default to "False" now it
appears on the form as "False"
I'm confused. I can't code to expect a 0 when the value may be 0 or False
or No... There must be a way to set up the Yes/No field on a form, provide
a default and know what values to expect.
Another thing, I do not have a table attached to this form. It's meant to
be used to make a determination only, no data needs to be saved. Not a
database at all, just a tiny stand alone tool.
Help please.
Thanks Bill