Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dates before 1900
Message
De
28/05/1999 13:42:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/05/1999 09:51:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00223881
Message ID:
00224007
Vues:
23
>Hi Cetin:
>
>I tried your code in lostfocus but still getting invalid input when
>I enter a year greater than 1900.
>
>If year(this.value) < 1900
> nodefault
> =messagebox("You cannot enter a century before 1900!", 48, "CATS")
>Endif
>
>dateformat is yyyymmdd.
Sheena,
Temporarily replace messagebox as :
=messagebox(dtoc(this.value), 48, "CATS")
to see what date is really passed. Still sounds like a dateformat problem.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform