>Dear Sir,
>
>I have two texboxes, datatype date.
>
>Text1 has date= 21-11-2003
>Text2 has date= 15-08-2002
>
>On the lostfocus of text1.value I want to write some codes to get following result
>
>The date of text1 go to text2 except year for example in text1 if I write 21-11-2003 then text2 must have 21-11-2002.
thisform.text2.value=gomonth(thisform.text1.value,-12)