John Baird
Coatesville, Pennsylvanie, États-Unis
Look at the ROLLOVER switch to the SET CENTURY TO
>
>Hi,
>
>I have just recently discovered a bug in all version of FoxPro including
VFP 5. If you turn century on and type a date in an empty date field with
only two digits for year and press enter, then always the 19 is added to the
two digit year you entered, no matter what date is set in your PC.
>
>For example if I type 01/01/98 then it will be converted to 01/01/1998 even
if your system date is 05/04/2001 !!
>
>I mean shouldn't it be converted to 01/01/2098
>
>I have even try to hook the Valid event but the value you get when you get
control in the Valid event is 01/01/1998
>
>What is the opinion of you peoples, is it going to be solved in VFP 6 or do
we nerds have to make some workarounds?
>
>Regards,
>
>Shahbaz Ahmer
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement