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 
ComboBox Default
Gregory Clancey 
    
3 years ago
I'm looking for the best way to specify a default selection for a 2in. wide ComboBox whose RecordSource is a 3 field "reference" Table with all 3 fields included, but the column widths are 0;0;2 and the Bound Column is 0. Let's assume the 3 fields of each record are . . .

[1] AUkeyID (an AutoNumber),
[2] NLorder (a Number of LongInteger type) and
[3] XSname (as ShortText data type.

Thus the "dropped down" control displays a menu of 3 string values (identified, above, as [3]), and the selected item has its key ([0]) stored in the Forms Bound Table.

All works fine as I have constructed the control currently, but HOW DO I SPECIFY ONE OF THE [3]STRINGS AS DEFAUT?
Adam Schwanz  @Reply  
           
3 years ago
Set the default to whatever that string is as the bound column.

If the autonumber is 5 for "Shoes" and the autonumber is the bound column, you can just put 5 in there and should get "Shoes" to show as the default.
Gregory Clancey OP  @Reply  
    
3 years ago
Works! Thanks!
Actually, I was confounded by an issue with the way I set up the reference table. All is good now, thank you for the help.

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: 5/9/2026 11:17:14 AM. PLT: 1s