Yes/No Field

C

Cbeckwith

I have fields in the backend table that are set for YES/NO on type. However,
my users just want to use a Y for YES or N for No, instead of having to
keystroke the entire "YES" in the field on the Frontend database. Is there an
easy way to just enter an Y or N for controls using the Yes/No field type?
 
J

John W. Vinson

I have fields in the backend table that are set for YES/NO on type. However,
my users just want to use a Y for YES or N for No, instead of having to
keystroke the entire "YES" in the field on the Frontend database. Is there an
easy way to just enter an Y or N for controls using the Yes/No field type?

Are you having the users enter data directly into the Table? If so, *don't*.
That's not the function of tables!

Use a Form instead, bound to the table. You can use a checkbox as John Goddard
suggests, or a Combo Box with either "Yes" and "No" or "Y" and "N" displayed,
rather than a textbox.
 
M

Mike Painter

Cbeckwith said:
I have fields in the backend table that are set for YES/NO on type.
However, my users just want to use a Y for YES or N for No, instead
of having to keystroke the entire "YES" in the field on the Frontend
database. Is there an easy way to just enter an Y or N for controls
using the Yes/No field type?

If you need to see the "Yes" or "No"
then default to teh more common one
In the on-click event
you can set

If me.YourYesNoField = True then
me.YourYesNoField = False
else
me.YourYesNoField = True
End If

If it can be left blank then a Case statement can be used to select between
three values.

It's very fast for a two or three items but a combo is better once you get
past that value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top