Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Year 0000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01003937
Message ID:
01010010
Views:
26
>George,
>
>I think, this would not work, though I need to test it.
>
>Fabio's solution works very nicely.

Nadya,

Any date/datetime value prior to and including the 16th century is subject to question. The answer you received from Fabio is overly long. I have a date text box class that allows the user to enter a two digit year, but displays the year as four digits. If you wish to restrict your users to entering a proper value, then I suggest that you do the same.


>>I know you've already gotten your answer, but the best way to do this is something like this in the Valid clause
RETURN (YEAR(This.Value) >= 2000)
You'll have to modify the year.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform