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

Using Not In ( ) with Multiple criteria

Status
Not open for further replies.

jalge2

Technical User
Feb 5, 2003
105
0
0
US
Hey all,

I'm building a query for a Cycle Counter to sort through pick zones. He wants a query that you can use to remove Pick Zones that are scheduled. There are over 30 zones, if there are 3 scheduled, he wants to be able to type in the 3 zones that are scheduled, to show him all of the Cycle Counts that he has to do in other zones.

I tried to add in the criteria


Not IN ([Enter Pick Zones]) and this errored out saying that the expression is too complex. Is there another way to do this?

Thanks for the help.

Jason Alge
Jason.M.Alge@lowes.com

'There are three kinds of people: Those who can count and those who can't'
 
Jason,

The string that should appear in the parentheses is like...
[tt]
'zone1','zone2','zone3'
[/tt]
Is that what is entered in [Enter Pick Zone]???

Maybe it should be entered in a textbox and processed by code.

Skip,
[sub]
[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top