Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dates before 1900
Message
From
28/05/1999 13:42:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/05/1999 09:51:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00223881
Message ID:
00224007
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform