Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Developers    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Keeping Filtered Choice Available After a Search
Richard Garber 
     
19 days ago
I wrote my database over a year ago and it's doing great for me. But, there is one issue I didn't think was an issue but lately, it's an issue. I'm sure you'll need more information from me, let me describe the issue first.

I use a menu where I can chose a category what records to display in the record display form which is a whole separate form that loads. No problem there. But while in the record display form and I choose to search for a record, when I've completed my search, the record display form returns to an unfiltered display meaning the category of records I chose to display by is no longer in use.

I've decided that I would rather stay in that category even after a search. Why? It just doesn't seem normal for the program to switch like that from the filtered records to unfiltered.

Can someone get me started on how to implement my searches without losing the category? Thanks!
Kevin Robertson  @Reply  
           
19 days ago
Richard Rost  @Reply  
          
18 days ago
Kevin is pointing you in the right direction. The key is to search within the form's current RecordsetClone, not open a new unfiltered recordset or use a FindFirst against the whole table/query.

Your category filter is already applied to the form's recordset. When you use:

Set rs = Me.RecordsetClone

the clone contains only the records currently available in that form, including the category filter. Then use FindFirst to locate the record and set the form's Bookmark to the clone's Bookmark.

That way, your search is limited to the category you selected, and the form never loses its filter.
Add a Reply Upload an Image
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: 9/5/2026 3:12:01 PM. PLT: 1s