Yes, that is an alternative syntax which I often use. (Equivalent, according to the deMorgan laws.)
>I meant the code should fire only if both are dates.
>
>
IF NOT (VARTYPE(m.tdFrom)="D" AND VARTYPE(m.toDo)="D")
> RETURN .F.
>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)