Solved

Can't assign fields to new checkboxes

Posted on 2014-12-22
4
152 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:
SimonAdept 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:SimonAdept
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now