I have a table of information that contains the distance of a race. I have a simple query that only brings up the relevant information for the exact distance I want or for all distances if I leave it black.
The is the statement I am using.
Like "*" & [Enter the Distance:] & "*"
If I leave it blank it brings up every distance just like I want.
If I enter 6F (which means 6 furlongs), 5F (5 furlongs), 1M (1 mile), 1 1/16M, 1 1/8M etc.. it works fine.
Here's the problem.
One of the table values is 7F (7 furlongs) and another is ab.7F (which means about 7F).
If I enter 7F it brings up BOTH 7F and ab.7F. I just want 7F (this the the problem)
If I enter ab.7F it brings up just ab.7F. That's correct.
Is there any way to code that statement so that if I enter 7F I only get the 7F and not both 7F and ab.7F?
Thanks