Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Checkbox from different Table
Gary James 
      
3 years ago
I have a form with all the controls getting their data from fields in table X.  However I need to add a checkbox that gets its data from a field in a different table Y.

I've tried various ways of doing this using syntax like "Control Source" "=[table]![field]".  But nothing works.  I either get a run time error 2447: the is an invalid use of the dot or parenthesis operator.  If I leave out the "=" equals sign, I see a message stating the parameter is not updatable.

Can anyone recommend how to specify a different data source table and field for a single checkbox on a form that has a completely different data source table?
Kevin Robertson  @Reply  
          
3 years ago
Gary James OP  @Reply  
      
3 years ago
I need to tie the checkbox into the field of a different table so the checkbox state is both saved and retrieved like all the other controls on the form.
Kevin Robertson  @Reply  
          
3 years ago
Have you tried using SQL? An UPDATE statement in the After Update event of the Check Box will  save the value.
Alex Hedley  @Reply  
           
3 years ago
Are they related in anyway?
Could you join the info in a QUERY and then make that the RecordSource of your Form?
Gary James OP  @Reply  
      
3 years ago
I tried both ways - didn't work.  I ended up brute forcing with recordsets,   Now it works fine.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 11:58:34 AM. PLT: 1s