Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating number of days
Message
De
09/10/2003 10:44:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/10/2003 22:55:56
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00836299
Message ID:
00836864
Vues:
9
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform