Like op (1 Viewer)

M

mission2java_78

Guest
If I type in Like '*C.31000.*' then it works fine...
but I want it so that it will accept anything in the text box rather than me hardcoding a number...
Jon
 
Last edited:

Jack Cowley

Registered User.
Local time
Today, 16:18
Joined
Aug 7, 2000
Messages
2,639
I assume that this is criteria for a parameter query... In the criteria line use code like this:

Like "*" & [Forms]![FormName]![ControlName] & "*"

hth,
Jack
 

Users who are viewing this thread

Top Bottom