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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Microsoft Access Forum
Robert R 

10 years ago
I have a customer form that opens when I click the MY Customers Button:Here is the code:DoCmd.OpenForm "CustomerF", , , "UserID=" & "Forms!MainMenuF!UserID".So the current user sees the records assign to them.
I also have a listbox and a combobox on the same form. When I choose from the combobox,  "active statuses", my listbox is populated with customers that have an "active status". When I double click an item in the listbox it populates that customers information on the form. The listbox is on the same form, side by side.Listbox on the left Customer Info On the right. When I clear the listbox, how do I see all of the current users assigned record again. The listbox is there so they can use the combobox to choose the customers they want to follow up with. When I clear the listbox I want to refresh the records to go back to the records that belong to the Current User. What I see for customer information is the info from the last customer I clicked on before I cleared the listbox.The record counter shows 1 of 1. The only way it seems to work is if I close the Customer form and then reopen the form again. Now the record counter sows 50 of 50. I want to clear the listbox and load all records again for the current user. 50 of 50. Hope this makes sense.


Reply from Alex Hedley:


Me.Filter = ""
Me.FilterOn = False

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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/10/2026 1:35:22 PM. PLT: 1s