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 Beginner 8    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Clear ComboBox Entry
Dave Ingram 
    
5 years ago
Hi Richard, love the lessons clear and precise. I have successfully installed my ComboBox in the header of my form. I have it set to look for the FirstName and display the FirstName & LastName. Works a treat, is it possible to have the ComboBox text cleared ready for the next search? Dave from Aotearoa NZ (Land of the long white cloud)
"Lets Fly"
Adam Schwanz  @Reply  
           
5 years ago
I'll have to let someone else chime in on this one. I can't remember if there's a way to do it back in expert classes. But once you get to some macros or VBA programming you'll have no trouble doing this either with events or a "clear fields" button.
Richard Rost  @Reply  
          
5 years ago
There is no way to do it without programming. When you get to the Developer classes, I'll show you how. Hint: AfterUpdate Event
Joseph Messina  @Reply  
    
5 years ago
Hi Richard:

   Not sure if you cover this in any of the lessons.  I googled how to clear combo box after searching for record in Access.  Or if you know something better how to clear combo box after searching for a record in Access.  I can share the steps with you I found when I did google search.
Alex Hedley  @Reply  
           
5 years ago
Joseph I moved this to a recent post asking the same
Joseph Messina  @Reply  
    
5 years ago
Hi Alex:

     Can you tell me where thst post is so I can see if there is any replies or answers?
Alex Hedley  @Reply  
           
5 years ago
You're replying to it...
Joseph Messina  @Reply  
    
5 years ago
I see it.  I scrolled to the top.  I'm goong srnd u a screen shot what i found on google.  I know how to create combo vlboxes and add colums to it.  For example address.  I was trying tofigure out yo clear it after searchijg for record.
Joseph Messina  @Reply  
    
5 years ago

Alex Hedley  @Reply  
           
5 years ago
A MACRO, YOU POSTED A MACRO IN THIS FORUM :s
Only kidding.
Yes you can do it like that, much the same would be done, as Rich suggested above, using an AfterUpdate.
Many ways to skin a cat.
Elaine Heltman  @Reply  
     
5 years ago
I didn't end up using AfterUpdate, but the video led me to figure out how to clear combo boxes on a search form. It's a continuous form with 4 unbound combo boxes in the header and the related fields are in the form. Each "found" entry has a double-click event to go to its specific "detail" form. I used the following code in a button OnClick event to clear all the combo boxes and "reset" the form (the actual combo boxes have real names):
Forms!GeneralSearchFormF![Combo1].SetFocus
    Combo1.Text = ""
    
    Forms!GeneralSearchFormF![Combo2].SetFocus
    Combo2.Text = ""
    
    Forms!GeneralSearchFormF![Combo3].SetFocus
    Combo3.Text = ""
    
    Forms!GeneralSearchFormF![Combo4].SetFocus
    Combo4.Text = ""
    
    Me.Requery

Thanks for all the lessons, Richard!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Beginner 8.
 

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: 6/14/2026 11:31:59 PM. PLT: 0s