Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > Large Check Box < If Then | Find Record Combo >
Back to Large Check Box    Comments List
Large Check Box Form Name Upload Images   Link   Email  
Michael Johnson 
I found out if you use:  

=FormatToggleButtons([Name])

it will send the name of the form to the function without having to type in each form.  It even works with sub forms.  I tried it on a subform in a database I'm putting together.

Now I'm trying to figure out how I can do the same for a field name.
Michael Johnson 
The only way I found to pass the name of the field in a function (so far) is using:  

[screen].[activecontrol].[Name]

Fortunately it works in my case since I'm clicking on that field.  Still not sure how you'd do it globally without having it as the "active control" in this case.
Kevin Yip 
You can easily reference any control on a form (when it's opened) if you know the form's name and if you have the form's object.

If you know the name of an opened form, then you can reference its controls with:  Forms![My Form's Name]![My Control's Name]

If a form's object is F, you can reference its controls with:  F![My Control's Name]

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Large Check Box.
 

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/28/2024 10:11:48 AM. PLT: 3s