Thankyou John, for the info. But I couldn't find any of this switch or feature in FoxPro 2.6 for Dos and Windows. Do you happen to know any other work around in there?
Shahbaz Ahmer
>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
Shahbaz Ahmer
Softnology Systems (Pvt) Ltd.