I have a constant string length in a field, but for some reason all my
fiddling around with the Left, Left$, Mid, and Right functions are not
working.
Let's say I have a field named "text". Every record is 12 characters long.
I'm trying to query for every record where the third character is Z.
What I've tried:
Mid([text],3,3)="Z"
Mid([text],3,4)="Z"
Mid([TableName]![text],3,4)="Z"
All of these I've put in the "Criteria" cell of the field "text" in the
query builder.
And several other attempts with Left, which didn't seem to be the right
function to use.
I DO have data matching the criteria in here, but I get no errors and zero
records returned.
I would also like to be able to check for values in consecutive places, like
checking for the 3rd and 4th characters being "ZZ" or "ZA", etc.
Any help would be appreciated, and thanks.
Using Access 2000