MS Access -- best strategy for boolean value in table and interface

Hi all -- looking for some quick input on good strategies for capturing Boolean values in an MS Access table along with corresponding ease-of-development with the front end. I know the question seems easy but I don't like the yes/no check in the table (is this really how it's done?) and I'm used to seeing numbers. I'm thinking the most straightforward strategy is to use a Long datatype and then tie an option group to it at the form level -- then I can populate with integers based on each value and I can control the default to either one or the other and presumably avoid null values as well. From an upsizing standpoint -- when I upsize, what does MSSQL use as integers to distinguish between true and false -- (-1) and (0), or something else? Just trying to make sure I make the right design decisions now and avoid headaches later. Thanks --
alfamikefoxtrotAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I think you should use Boolean (i.e. Yes/No) in Access. They're easy to deal with, and the entire Access infrastructure "understands" them. When you upsize, most upsizing "wizards" will make the right choice to handle those Boolean fields. You could use a numeric datatype, but you're just making extra work for yourself.

The "Yes/No" is just more ... human-readable, I guess. Remember that Access was (and still is) intended for the Power User, who may not quite understand what Boolean means, and what those values (0, and anything NOT 0) really mean. Yes and No are definitive to the average user, so Access uses those.

Most use a Bit datatype when storing boolean values in MSSQL Server, with a Default of 0.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alfamikefoxtrotAuthor Commented:
Thanks Scott. exactly what I needed....!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.