Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dates before 1900
Message
De
28/05/1999 07:28:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Dates before 1900
Divers
Thread ID:
00223881
Message ID:
00223881
Vues:
45
Hello:

I'm trying to force users not to enter dates before 1900 into a text box.

I have the following code in the valid event but it won't allow
me to enter any dates now. Dates entered, i,.e. 1965/09/08 give me invalid input.

Local llpastdate
llpastdate = this.value < {1900/01/01}



If llpastdate
=messagebox("You cannot enter a century befpre 1900")
Endif
return llpastdate
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform