Dealing with reading data out of unbound field controls, for some reason one field was ending up with a "Variant/Integer" value, so I thought to use Str() to insure that it was a string to successfully use in an If comparison with another field control value.
Simply calling
was adding a space character to the resulting string!
So I wound up adding Trim() as:
Why in the world would Str() be adding a space character which was clearly not there in the Integer value of the field control?
Simply calling
Code:
Str(MePointer.fldfarev.Value)
So I wound up adding Trim() as:
Code:
Trim(Str(MePointer.fldfaver.Value))