I have 2 text boxes. Text1 and Text2
both are formated as short date.
In text1 a date is keyed in i.e. 12/02/04 (Dec 2/04)
I want text2 to show the date 6months from the date entered in Text1.
In text2 I am entering the Date worksheet funtion.
=Date(Year(text1),Month(text1)+6,Day(text1) I also tried
=Date(Year([text1]),Month([text1])+6,Day([text1])
In both cases I receive the error message "function contains the wrong number of arguments"
Is does this fuction not work in access ( It works for me in excel)? If this is the case, how can I get this calculation to work in access?
Thanks
Liz
both are formated as short date.
In text1 a date is keyed in i.e. 12/02/04 (Dec 2/04)
I want text2 to show the date 6months from the date entered in Text1.
In text2 I am entering the Date worksheet funtion.
=Date(Year(text1),Month(text1)+6,Day(text1) I also tried
=Date(Year([text1]),Month([text1])+6,Day([text1])
In both cases I receive the error message "function contains the wrong number of arguments"
Is does this fuction not work in access ( It works for me in excel)? If this is the case, how can I get this calculation to work in access?
Thanks
Liz
Code: