>Hi everybody,
>
>I want to be able to type two year digits in the date textbox and treat dates this way: if they less than current year, e.g. 01/01/05 treat them as 2005, otherwise, 1/1/43 treat as 1/1/1943. I could not make it to work, have to admit.
>
>I'm using VFP9.
>
>Can you please help me?
Nadya,
What I do is dynamically display the data. IOW, the input mask is changed in the GotFocus() event.
>
>Thanks a lot in advance.
George
Ubi caritas et amor, deus ibi est