Solved

MS Access 2007 check box in form

Posted on 2013-05-23
2
454 Views
Last Modified: 2013-05-28
Hi All,

Please see the attached MS Access 2007 database.  In my “main” table, I chose yes/no for data type.  When I bring these fields into the form the check box is filled and will not toggle with a check mark.

Please help
Thanks
Database2.accdb
0
Comment
Question by:Reyesrj
2 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 500 total points
ID: 39193360
The reason you can't use the checkboxes is because of the relationship you established between the two tables. You're using an autonumber in your table which isn't generated until a record is entered, so the number in your main table isn't matching the one in the Ethnicty table. I added a new field to that table and related it to the ID of the main table. On the form there's a text box that has it's default value set to the main id. See attached.

Flyster
Database2.accdb
0
 

Author Closing Comment

by:Reyesrj
ID: 39202934
Thanks, it works!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

828 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