Education is the most powerful weapon
which you can use to change the world.
-Nelson Mandela
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

10/27/2014 10:24:09 AM
Combo Box Find Record Missing
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
textToday's question comes from Stefan. He asks, "when I use the combo box wizard, I don't get the third option to find a record on my form based on the value I selected in my combo box."

This is actually a very commonly asked question, which is why I'm putting it here in my blog. I've answered this question a couple of times in the Class Discussion Forum for this lesson, but since not everybody watches the class online, I'll answer it again here.

HINT: to get the most out of my classes, you should watch them online using the Theater, and you should read ALL of the comments in the Class Discussion Forum for each lesson. Chances are, someone has already asked the question before!

The answer to this particular question is that you need to make sure that your Form's Record Source property is set to a TABLE or SIMPLE QUERY. It cannot be an SQL STATEMENT. If you open up the Form Properties and see something like this in the Record Source then you have an SQL statement.

SELECT FirstName, LastName FROM CustomerT WHERE State="FL"

If this is the case, you will not get the third option to create a search combo box. You will need to change it to the table that contains all of the required fields. Likewise, if you have a real complex query with a bunch of joins as the record source, you may not see this option. You'll need to use a simpler query.

As long as you follow my design techniques for building forms, you should be OK. Start off with a blank form in FORM DESIGN mode. Open up the properties and set the Record Source to the name of a TABLE, and then start building the form. You usually only get an SQL statement if you use the Form Wizard (which is an evil wizard).

This topic is covered in Access Beginner 8.

Permanent Link
Keywords: combo box find record access tips
Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 4+6:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 
 
  Dismiss
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP