Exclusion of *

dgriffis1231

Registered User.
Local time
Today, 17:06
Joined
Oct 9, 2013
Messages
25
I am doing a crosstab query and would like to exclude all the titles with the character * in it. However, access seems to get confused when I type Not Like "*".

Thank you,

DG
 
With good reason, given that * is a reserved symbol.

Try something like (assuming this is a text field)
Code:
Not Like "*[*]*"
 
I am assuming that 'titles' is a field.

Use the ASCII character code Chr(42) in the criteria as this may work.

SELECT titles FROM tablename WHERE (((InStr([titles],Chr(42)))=False));
 

Users who are viewing this thread

Back
Top Bottom