>One thing I would try to check for the NULL value while comparing....In VFP, "Variable > NULL" returns False....
To be accurate, it returns NULL, not .F. However, in a loop like
if (expression that evaluates to NULL)
...
the ELSE will be taken.
An example of why this distinction might be relevant:
The following will print "No":
if NULL
? "Yes"
else
? "No"
endif
But the following, which you might expect to do the opposite, will also print "No":
if not NULL
? "Yes"
else
? "No"
endif
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)