Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Y2k in vfp3.0
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00121007
Message ID:
00121037
Views:
14
>VFP3.0 has no ROLLOVER command, and a two digit year is always 19xx. I SET CENTURY ON, and made an input mask 99/99/9999, but the input mask is ignored. What is the right way to make a vfp3 app y2000 compliant?
>
>I'll probably upgrade straight to vfp6 when the time comes, since they are not giving me much time for fox these days anyway. This one thing can't wait, however.
>
>Thanks.
Bret,

SET CENTURY is scoped to the data session, that means if you have forms with a private data session you have to SET CENTURY within that form. You can do this in a form class and make all your forms come from that class. Also, don't bother with the input mask at all, century on will display four digit years.
Previous
Reply
Map
View

Click here to load this message in the networking platform