Solved

Can't assign fields to new checkboxes

Posted on 2014-12-22
4
154 Views
Last Modified: 2014-12-22
This is weird to me... trouble even describing it.

I have an access database with MANY forms and tables.  The previously created forms have checkboxs that have DIFFERENT properties than the new ones I'm creating and I can't figure out how to get the old type (the database WAS migrated from an Access 2000 database and many of the controls are probably "migrated" from there)

On the right, old control checkbox - what I NEED, on the left the only ones access is allowing me to create.
Properties from both checkbox typesIt seems to be missing any OPTION to even link it to data?!?!?!
0
Comment
Question by:Lee W, MVP
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Simon earned 500 total points
ID: 40513903
From the screenshot showing the 'option value' for the newer checkbox, it looks like you are creating it inside an option group control. Have you tried creating a single checkbox outside of a option group container? For the option group control, it is the group control that binds to a data field, and the checkboxes or option buttons within it each set the data field to a pre-defined value.
Which version of Access are you using?
0
 
LVL 95

Author Comment

by:Lee W, MVP
ID: 40513930
AH, yes, that could be it.  It IS being created in an option group container whereas the other one is probably overlayed "over" it (both are, in theory, in a frame, but apparently the ones created before I took over the database weren't done that way!

I did notice in the VBA pain the control type on the one I need is 100 while the one I keep creating is 106 and can't be changed.
0
 
LVL 95

Author Comment

by:Lee W, MVP
ID: 40513931
Access 2013.
0
 
LVL 18

Expert Comment

by:Simon
ID: 40513942
Yes, it is not uncommon for the frame just to be used as a visual indication that controls are part of a functionally-related group, but that the frame isn't actually being used as an option group. i.e. it is just being used as a way of drawing a rectangle with a caption around a bunch of independent contols, whether checkboxes, option buttons, textboxes or whatever. If you're not using the checkboxes to set alternative values for a single field, then create them independently, and either draw a rectangle and add a label manually, or draw an option group if you prefer that visually, but leave it unbound.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

776 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