An investment in knowledge
pays the best interest.
-Benjamin Franklin
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
Multi-Field Search Form
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   4/27/2011 4:32:49 PM

One of the most requested questions I get asked is how to create a multi-field search form in Access. Well, I put together a short 10-minute free video for the ACCESS TIPS section on how to do this. This is only a TEENY, TINY preview of what's to come in the Search Form Seminar I'm preparing, which will be released after the SQL Seminar parts 2 and 3. There's SO MUCH more you can do with search forms in Access... but this will get you started.

Open Results in Form Link 
Austin Ritner    
I was watching your multi-field search form video, and at the end you mentioned opening another form after running the query. Once I get the query results, I need to be able to open a result. (As you can with a list form). How do I do that?
Richard Rost
If you need the search results to show up in a form, just make a form based on the query that this Tip produces, and in your code, instead of OpenQuery, use OpenForm. Now if you want to click on a result in that list, you can either use Continuous Forms and a GO button, or instead feed the results into a ListBox on that form (my personal favorite) and then an OnDoubleClick event can open another form.
Austin Ritner   
Ok I've got the results showing up in the listbox, but when I try and double click, it opens ALL the records not the one I specifically want. Would a listform be better in this instance?
Add a Reply
filter a listbox to search for records Link 
jannette j     
I would like to create a form in which a listbox displaying records from Project is filtered based on the selection of a comboboxs Dept and Tech , Date From and DateTO combo boxes containing the Project Data Read More...
Add a Reply
ALike Link 
Bernard Goah 
Thanks a million, Mr. Rost! Now, I can enter Like freely.
Add a Reply
ALike Link 
Bernard Goah 
"ALike"  keeps appearing.  I just want to type "Like". Someone please make it stop. I am using MS Access 2007.

Reply from Richard Rost:

You may have ANSI 92 compatibility mode on. Go to File > Access Options > Object Designers > Query Design > and make sure the checkboxes are OFF under SQL Server Compatible Syntax (ANSI 92). Read More...
Add a Reply
New Access Tip Search Form Link 
Brad Y. 
I got the search form working really easily.  Thanks!  

My only problem is that I can only run the search once, then I have to close the query.  Once I close the query I can then run a new search from the form. Read More...
Add a Reply

Show Older Comments...
View in Table Format

Post a New Comment or Question
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Waiting List
Production Schedule
Collapse Menus
Live Chat
Customer Support
WalkThru Tutorials
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: search form like wildcard access tips  PermaLink