DiamondDust
Programmer
I am trying to use a variable in an if statement expression. For example: If dcriteria Then
end if
dcriteria is equal to a field value which is of type memo.
in the field is criteria I want to use for the if statement. For example: dcode >= "80000" And
dcode <= "8291*"
My problem is I can't get the if statement to except the dcriteria. The error is "Type Mismatch". Does anyone know a work around.
end if
dcriteria is equal to a field value which is of type memo.
in the field is criteria I want to use for the if statement. For example: dcode >= "80000" And
dcode <= "8291*"
My problem is I can't get the if statement to except the dcriteria. The error is "Type Mismatch". Does anyone know a work around.