Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access Query: IN List sytax 1

Status
Not open for further replies.

des0929

Technical User
Nov 11, 2003
6
US
Does anyone know the MS Access query sytax for an in list condition

FoxPro example:
Select * from table where inlist('Tom','Mary')

Thanks.
 
For foxpro I think you meant..

Select * from table where inlist(mfield,'Tom','Mary')

MS Access equavalent is ...

Select * from table where mfield in('Tom','Mary')





Mike Pastore

Hats off to (Roy) Harper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top