Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2008, 11:34 AM
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Query Criteria through List Box

I am opening a Query in Pivotchart View using Command Button, which shows complete Dataset. Current requirement is to filter data on RunTime on Regions (NAE, NAW, EU), how can I pass on Criteria to a Query by selecting a value available in a listbox i.e. NAE, NAW or EU.

I am using Access 2007.


 
Old July 26th, 2008, 12:23 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 128
Thanks: 0
Thanked 1 Time in 1 Post
Default

I don't usually use list/check box as a parameter to a query.
In a form, I use the Select dropdown option and source table
in your example are the regions.
For a criteria to a query this is an example I use:
[Enter a 3 UpperCase character].

Hope this helps,
john






Similar Threads
Thread Thread Starter Forum Replies Last Post
Query based on a list box ghall202 Access VBA 4 November 2nd, 2007 07:10 AM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 01:58 PM
Criteria in Query lryckman Access 1 June 23rd, 2004 11:11 AM
Query Criteria Clive Astley Access 4 March 25th, 2004 03:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.