Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > Forums > Access Forum > Query by Brian Smith
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Query
Brian Smith 
    
2 years ago
On my Main form i have 3 Option groups, and i have then bound to a table, but when i click on the BTN in the group it returns a value of the option value of either 1,2,3,4 how can i get it to return a value from a table not the option number
Adam Schwanz  @Reply  
           
2 years ago
If you click on the button and go to properties, data tab, there is a "Option Value"
Sami Shamma  @Reply  
             
2 years ago
Hi Brian,

Your question is a bit cryptic. Please provide more and clearer information.

Thank you.
Brian Smith OP  @Reply  
    
2 years ago
I have set the "Option Value" in the properties on all 4 of the toggle BNT, the BTN will read as follows
1st Option Group is called 10-Code and has 4 Toggle btn on it that reads as follows, 10-7, 10-8,10-41, 10-42, and are bound to a table, but i want the btn to return the value of 10-7 not the option value of 1, how can i change that
Kevin Yip  @Reply  
     
2 years ago
Option values can only be numeric, not text like "10-7".  You'll have to find a way to convert the numeric values back to "10-x".  If "10-x" are stored in a table like you said, then you can use the table's primary key values, which is usually numeric, as the option values.  To display "10-x", store them as the labels of the option values.  You'll need VBA to do this dynamically.  For instance, to retrieve "10-x" from its primary key, you need to use -the VBA function DLookup().
Brian Smith OP  @Reply  
    
2 years ago
Thank You Kevin
I will try just that...

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

Next Unseen

 
 
What's This?

 

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: 11/15/2026 9:29:13 AM. PLT: 0s