Multi-entry Parameter (1 Viewer)

mrabrams2

Registered User.
Local time
Yesterday, 23:01
Joined
Apr 29, 2003
Messages
54
Simple query.
Field: CompID

In a query - drop the field to grid.
Criteria line - [Enter a CompID]
Works great when user enters ONE CompID.

What I would like, is for the user to be able to enter 1,2 or 3 CompIDs as the criteria.

How do I do this? :confused:

Thanks!
Michael
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 23:01
Joined
Feb 19, 2002
Messages
43,768
You will need to create a form with a multi-select list box and write the code to create the query and run it. If you search the archives for multi-select list box, you will find samples of the code you will need.
 
R

Rich

Guest
Lookup the InputBox and the In functions
 

Users who are viewing this thread

Top Bottom