Computer Learning Zone CLZ Access Excel Word Windows

Stay hungry, stay healthy, be a gentleman, believe strongly in yourself and go beyond limitations.

-Arnold Schwarzenegger
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to TechHelp    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
listbox as parameter criteria
Anjanette Johnson 
   
4 years ago
I have created a query and would like to use a list box to have the user select data for parameter query.  Is this possible?  If so, how would you do it?
Juan C Rivera  @Reply  
            
4 years ago
When you get into the developer classes you get many examples on list boxes Developer 5  but a free tech help List Box Filter may be a quick answer to what you need.
Kevin Yip  @Reply  
     
4 years ago
Hi Anjanette, you need VBA to pass the list box value to a query's parameter.  The picture below shows how to do it, using the "Parameter" property of a query.  I don't know if Richard has a course for this or not.  The key thing is that a parameter needs square brackets in query design (e.g. [My Parameter]), but it doesn't need square brackets when it is used in VBA, as shown below.
Kevin Yip  @Reply  
     
4 years ago

Richard Rost  @Reply  
          
4 years ago
I show how to do the first method that Kevin showed in this video: Value From a Form. You can use that value in another form, a report, or a query.

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

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/18/2026 7:00:22 AM. PLT: 1s