>>>>Not true! You CAN enter only 2 digits, no matter what the format is.
>>>
>>>Then why when I tab to a field that is showing 2001/01/02, and I enter the keystrokes 990501
does it not work? It tries to put the date 9905/01... into the field.
>>
>>If you're using VFP6, maybe you could set the date fields .Century property to 0 in the .GotFocus method, and reset it to 1 in the .LostFocus method. That way it would show as 4 digit years when the control did not have the focus, but allow you to enter just the 2 digit years. Would that work for you?
>
>Not sure. I don't have VFP 6.0.
>
>Take care,
>Joe
Joe,
I just tried it in VFP5, and it will work. See if that works for you.