Solved

Can't assign fields to new checkboxes

Posted on 2014-12-22
4
156 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

713 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