Solved

Can't assign fields to new checkboxes

Posted on 2014-12-22
4
158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 96

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 96

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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…

695 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