Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating number of days
Message
From
09/10/2003 10:44:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/10/2003 22:55:56
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00836299
Message ID:
00836864
Views:
11
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform