Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFOCUS doesn't
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00947693
Message ID:
00947697
Vues:
18
try puttng the following code in the valid event of the control

DO CASE

CASE (CTOD(THIS.VALUE) > DATE())
MESSAGEBOX("Error in Date: Greater than current date.",16)
return 0


CASE(CTOD(THIS.VALUE) < DATE()-60)
MESSAGEBOX("Error in Date: More than 60 days before today.")
return 0

ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform