hi
i know i'm using the word mask (in the subject) in not quite the right context here but...
in access 2003 i would like to exclude a set of records from a query but can't quite get my head around what kind of criteria i need to use.
the format of the values to exclude is consistent and equates to
01AA/123456 or 02AA/123456
where AA can be any 2 letter combination and 123456 could be any 6 digit number (no more & no less than 6) so length is always 11.
The issue i'm struggling with is that access is reading (rightly so) the whole thing as text.
the initial filter i have used is
not like "01??/??????" and not like "02??/??????"
as using a # wildcard doesn't work.
This nearly gives me the results i want but the data includes (at least) one field in the format 01AA/123/56 and would, of course, allow for 01AA/abcdef too so can't be trusted.
any help/pointers would be much appreciated
thanks
;-)
i know i'm using the word mask (in the subject) in not quite the right context here but...
in access 2003 i would like to exclude a set of records from a query but can't quite get my head around what kind of criteria i need to use.
the format of the values to exclude is consistent and equates to
01AA/123456 or 02AA/123456
where AA can be any 2 letter combination and 123456 could be any 6 digit number (no more & no less than 6) so length is always 11.
The issue i'm struggling with is that access is reading (rightly so) the whole thing as text.
the initial filter i have used is
not like "01??/??????" and not like "02??/??????"
as using a # wildcard doesn't work.
This nearly gives me the results i want but the data includes (at least) one field in the format 01AA/123/56 and would, of course, allow for 01AA/abcdef too so can't be trusted.
any help/pointers would be much appreciated
thanks
;-)
If a man says something and there are no women there to hear him, is he still wrong?
How do I get the best answers?
How do I get the best answers?