Solved

Make a boolean field on a form more intuitive

Posted on 2014-11-05
3
260 Views
Last Modified: 2014-11-05
Access 2013.

I have a form which has a Boolean yes/no field.   By default, the field is set to 'yes' but the user is free to change  it value.

When the user enters the field (goes into edit mode),  the cell will display    

-1   or    0

for yes or no. The user input a zero or minus 1.

I would prefer that the user of the database to not see the Boolean equivalents.  I really don't like combo boxes on a form.   I realize that I could set this field to a text field  with a length of 1 (allowing only 'y' or 'n'),  but this would make some other things more difficult for me.

 I like the Boolean field, but want it to be more elegant. Is there another solution?
0
Comment
Question by:peispud
3 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40425111
Use a checkbox on a form. That will work with a Boolean.
0
 

Author Closing Comment

by:peispud
ID: 40425168
That works fine.  Thank you very much sir.
0
 
LVL 35

Expert Comment

by:PatHartman
ID: 40425171
I also prefer the checkbox but you can set the format so Boolean fields show as Yes/No or True/False.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question