John Baird
Coatesville, Pennsylvania, United States
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only