Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2k in vfp3.0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00121007
Message ID:
00121037
Vues:
13
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform