Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
 
Access Search Seminar
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   9 years ago

This seminar will teach you just about everything there is to know about searching and sorting data in Microsoft Access. This seminar is for the intermediate to advanced Access developer. You will...

1. Learn how to perform basic find & replace, filter & sort operations
2. Create parameter queries to prompt users for input
3. Learn how to use form fields as parameters without prompts
4. Perform wildcard searches and learn how to deal with blank or NULL data
5. Search for records using a combo box on a form
6. Understand the difference between embedded macros and VBA code
7. Design a single-field search button to quickly find data in a selected field
8. Learn how to apply filters using VBA commands
9. Design search forms using custom SQL commands and VBA
10. Manipulate your form search results and modify the sort order of records
11. Create a simple search form designed for novice users with hidden advanced options
12. Build a recent customer list to quickly open those clients you work with often
13. Search for data in multiple tables using one quick search form
14. Search for products using ranged criteria (between dates, dollar amounts, etc.)
15. Quickly view summary information on returned result sets (count, max, min, etc.)
16. Design a natural language search that can decide what type of search you want
17. Create a search-as-you-type form that updates results with each keystroke

You can download a free sample database, watch free lessons, and learn more about this seminar here: Microsoft Access Search Seminar

Not Showing All Records Upload Images   Link  
Tony Roberts 
2 months ago
This SQL coding works just great, I an mow using it everywhere. The only problem I have is that when I click on the 'Clear' button, set up exactly as in your video, all the search fields clear, but the docmd.ShowAllRecords does not show all the records again. Read More...
Richard Rost
2 months ago
Does it work properly in my template?
Tony Roberts
2 months ago
Yes, sorry should have checked there first, so it must be something in my coding! I noticed in the template that each search field had an AfterUpdate Requery event, which I have added, but still not showing all records after a filter has been applied?

In the Status text box this remains after clearing the filters: SELECT * FROM q1PupilList WHERE txtSurname LIKE "*sm*" ORDER BY txtSurname
Add a Reply
Filter Combo Box Upload Images   Link  
Ina van Rooyen 
5 months ago
Here's another one...
I have a table with almost 600 dogs in total.  I have a Status field and each dog has a status, eg. Breeding, Puppy, Sold, Retired, etc.
The dogs I deal with on a day to day basis are mostly the Breeding dogs. Read More...
Adam Schwanz
5 months ago
Sure you could use an after update event on your status field to change the row source of your dog name combo box. Add a where clause to it that filters it by the value in the status box.
Add a Reply
Search with Combo Box Upload Images   Link  
Ina van Rooyen 
5 months ago
Hi Richard
I have three combo boxes on a continuous form with approximately 600 records in total. I use the exact same code you used in the Genealogy seminar with different field names, obviously. Read More...
Richard Rost
5 months ago
Your code looks solid. Usually this problem is because people forget the space before "ORDER BY" but you've got that covered at the end of the WhereStr. Only time you'd have a problem would be if there was no WhereStr. So you might want to add a space in there. Let's see what your final SQL statement looks like. MsgBox it and post a screen shot.
Kevin Robertson
5 months ago
What is the "& wh" at the end of sql?
Your WhereStr appears to go straight after with no space.
Add a Reply

Show Older Comments...
View in Table Format

Start a NEW Conversation
 
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.
 
Subscribe
 

You may want to read these articles from the 599CD News:

12/4/2021Hangman!
12/3/2021Access Beginner 2
12/3/2021Access Beginner 2 Lessons
12/3/2021Access Beginner 2
11/30/2021Import Multiline Cells
11/30/2021Adam's Access Games
11/29/2021Prevent Close
11/28/2021Random
11/22/2021Currency Symbols
11/13/2021Access Developer 36
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
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
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
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: access search seminar sort filter sql vba  Page Tag: whatsnew  PermaLink