A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using List Box Selections As Query Criteria



 
 
Thread Tools Display Modes
  #1  
Old July 6th, 2004, 03:35 PM
Kevin Sprinkel
external usenet poster
 
Posts: n/a
Default Using List Box Selections As Query Criteria

I'd like to use multiple selections from a list box as
query criteria, connected by a logical OR.

I guess I need to loop through all selections, adding them
to an SQL string, but don't know how to do this. Can
anyone help?


  #2  
Old July 6th, 2004, 09:16 PM
Pat Hartman
external usenet poster
 
Posts: n/a
Default Using List Box Selections As Query Criteria

Look up this knowledgebase article.

135546 - How to Use a Multi-Select List Box to Filter a
Form

-----Original Message-----
I'd like to use multiple selections from a list box as
query criteria, connected by a logical OR.

I guess I need to loop through all selections, adding

them
to an SQL string, but don't know how to do this. Can
anyone help?


.

  #3  
Old July 6th, 2004, 09:53 PM
Kevin Sprinkel
external usenet poster
 
Posts: n/a
Default Using List Box Selections As Query Criteria

Thanks, Pat; right on target.

Kevin Sprinkel

-----Original Message-----
Look up this knowledgebase article.

135546 - How to Use a Multi-Select List Box to Filter a
Form


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Query Selection criteria Ceci Running & Setting Up Queries 0 June 8th, 2004 07:17 AM
Programmatically entering query criteria on Form Gwen Running & Setting Up Queries 1 June 4th, 2004 04:25 PM
urgent help with criteria in access query opeyemi1 Setting Up & Running Reports 1 June 2nd, 2004 12:59 PM
Using a list of selections + displaying the answer Joe O'Sullivan Worksheet Functions 1 December 11th, 2003 09:57 AM


All times are GMT +1. The time now is 05:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.