I've a query where the parameters are entered by the user. I want the user to be able to return all values if the parameters are left blank and I can reach this with
'Like "*" & [...] & "*"'
But the problem that I'm having is that the field of interest can have values like "1" and "01", so if the user enters "1" then they will return all records which contain "1" in that field, thus returning the incorrect values.
Is there a way that I can set this in VBA or in its properties to specify that there is a difference?
'Like "*" & [...] & "*"'
But the problem that I'm having is that the field of interest can have values like "1" and "01", so if the user enters "1" then they will return all records which contain "1" in that field, thus returning the incorrect values.
Is there a way that I can set this in VBA or in its properties to specify that there is a difference?