Has anyone else noticed this?
I have an If statement, depending on data type, does a comparison.
It goes something like this.
If myDataType = “D” And (cDate(someField1) cDate(someField2)) then
The problem is this. The someField1 and someField2 are not dates and myDataType is not “D”. I would expect the If statement to terminate when it evaluates myDataType not being D but it doesn’t appear to do so. I get a Type Mismatch error pointing to the someField1 or someField2 variables.
OK, I know how to restructure my code to get around this but it is annoying to have to do that to say the least.
Any suggestions anybody? (Ones that can be printed anyways).
Regards,
Kevin Bell