Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Century Property in VFP3.0 and Y2K
Message
De
18/06/1999 15:52:30
 
 
À
18/06/1999 15:41:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00231530
Message ID:
00231570
Vues:
15
>>>Hi Randy. My personal opinion on making a VFP app Y2K compliant.
>>>- SET CENTURY ON
>>>- widen your textboxes to have 4 digit year.
>>>- do a search for every date function (like DTOS, DTOC...) and ensure the routines aren't making any assuptions about the century
>>>
>>>You are done. Other opinions differ though.
>>
>>Thanks Evan, That may be the route I take (with some people screaming that they can't enter 2 digits)
>>
>
>No problem they can still enter 2 digit years. It will expand to 4 as they leave the field, giving them an immediate visual clue that it's the wrong century.
>
>

Thanks Fred, I just tried it on a test form and noticed that. I may have to put up a larger warning on border line dates for my heads down data entry people.

Is the web page I mentioned earlier wrong about the century property for controls being in VFP 3.0? I found it in VFP 6.0, but not in 3.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform