Computer Learning Zone CLZ Access Excel Word Windows

A good lie is easier to believe than the truth.

-212th Rule of Acquisition
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Access >

Back to TechHelp

listbox as parameter criteria Upload Images   Link  
Anjanette Johnson 
3 months 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
3 months 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
3 months 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
3 months ago

Richard Rost
3 months 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, below.

Back to TechHelp Comments

Start a NEW Conversation
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
Subscribe to TechHelp
Get notifications when this page is updated

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard

Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Copyright 2023 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/3/2023 9:26:36 PM.