Can't assign fields to new checkboxes

Posted on 2014-12-22
Medium Priority
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?!?!?!
Question by:Lee W, MVP
  • 2
  • 2
LVL 18

Accepted Solution

Simon earned 2000 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?
LVL 97

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.
LVL 97

Author Comment

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

Expert Comment

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.

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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.

Join & Write a Comment

A quick solution showing how to control and open a POS Cash Register Drawer using VBA with MS Access.
Audit trails are very important in any system to hold people responsible for certain transactions and hold them to take ownership of their actions. This article is dedicated to all novice "Microsoft Access" developers.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

597 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