Apply Filter with a Number

TedMartin

Registered User.
Local time
Today, 19:23
Joined
Sep 29, 2003
Messages
76
Docmd.ApplyFilter, "Field = 6" finds the record where the data equals 6.

BUT.

Docmd.ApplyFilter, "Field = intVariable" fails.

I have tried all sorts of other syntax.

Help please.

Thanks

Ted
 
DoCmd.ApplyFilter , "Field =" & intVariable
.
 
Thank you

So easy too.
 

Users who are viewing this thread

Back
Top Bottom