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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quering multiple values

Status
Not open for further replies.

ciarra41

Technical User
Sep 11, 2006
116
US
I'm trying to pull data using multiple criteria. But when there's more that one value it's only pulling the first or sometime nothing.
These values are text, something like 011422,142457,154774

I've tried:
=”011422”,”142457”,”154774”, : nothing
,
In(011422,142457,154774) only the first comes back

“And” only returns the first.

The data being queried in Access but I have ODBC connecting to an Oracle table.
 
And this ?
IN ('011422','142457','154774')

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Now I'm getting a data type mismatch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top