ACC: How to Create a Parameter In() Statement (100131)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q100131
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article demonstrates two methods that you can use to pass multiple
values to a query by using a parameter prompt. The first method uses the
Instr() function to parse the parameter values entered when the query is
run. The second method describes a way to create a query by using the In()
operator with multiple values.
NOTE: A demonstration of the technique used in this article can be seen
in the sample file, Qrysmp97.exe. For information about how to obtain
this sample file, please see the following article in the Microsoft
Knowledge Base:
182568 ACC97: Microsoft Access 97 Sample Queries Available in Download Center
REFERENCES
For more information about the In operator, search the Help Index for "In
operator."
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming kbusage KB100131 |
---|
|