memberFDIC
Programmer
I am trying to create a filter where the criteria are numbers, not text strings. So far, I have been unsuccessful. I keep getting "Type 13 Mismatch" errors in my VBA code when line execution reaches the following:
Me.Results.Form.Filter = "PROJECTEASTING > " & (CDbl(TextStringProjectEasting) - CDbl(TextStringDistance))
I have tried various string formatting tweaks, such as the one below, but still I have no success:
Me.Results.Form.Filter = "(PROJECTEASTING > " & (CDbl(TextStringProjectEasting) - CDbl(TextStringDistance)) & ")"
In the above, PROJECTEASTING is a double precision number and corresponds to a field in my table.
Me.Results.Form.Filter = "PROJECTEASTING > " & (CDbl(TextStringProjectEasting) - CDbl(TextStringDistance))
I have tried various string formatting tweaks, such as the one below, but still I have no success:
Me.Results.Form.Filter = "(PROJECTEASTING > " & (CDbl(TextStringProjectEasting) - CDbl(TextStringDistance)) & ")"
In the above, PROJECTEASTING is a double precision number and corresponds to a field in my table.