dridgeway
Technical User
- Jun 3, 2003
- 16
I have a parameter query that prompts:
[Enter Freight Terms]
User needs to be able to enter single or multiple values (seperated by commas)
Freight Terms is a 3 character field with only 3 different values: P, PA & C - however if I enter PA, I receive all the P's and the PA's...how can I avoid this? Both have the letter P as the starting character.
Here's my SQL statement:
SELECT DPL.LOAD, DPL.PRECOL3RD
FROM DPL
WHERE (((InStr([Enter Freight Terms],[DPL].[PRECOL3RD]))
Is Null Or (InStr([Enter Freight Terms],[DPL].[PRECOL3RD]))>0));
[Enter Freight Terms]
User needs to be able to enter single or multiple values (seperated by commas)
Freight Terms is a 3 character field with only 3 different values: P, PA & C - however if I enter PA, I receive all the P's and the PA's...how can I avoid this? Both have the letter P as the starting character.
Here's my SQL statement:
SELECT DPL.LOAD, DPL.PRECOL3RD
FROM DPL
WHERE (((InStr([Enter Freight Terms],[DPL].[PRECOL3RD]))
Is Null Or (InStr([Enter Freight Terms],[DPL].[PRECOL3RD]))>0));