I am trying to display the result of DateDiff function in a report and am having trouble getting it to work.
I am using a text box and in the control source i used
=DateDiff("ww",[forms].[frmDateRangeAvgOA].[txtDateStartAvgOA],[forms].[frmDateRangeAvgOA].[txtDateEndAvgOA])
For the example I used 7/1/2010 - 7/31/2010 and the text box displayed 1900 when it should have displayed 4. Any help to get this to work would be helpful.
Thank You
Zac Z
I am using a text box and in the control source i used
=DateDiff("ww",[forms].[frmDateRangeAvgOA].[txtDateStartAvgOA],[forms].[frmDateRangeAvgOA].[txtDateEndAvgOA])
For the example I used 7/1/2010 - 7/31/2010 and the text box displayed 1900 when it should have displayed 4. Any help to get this to work would be helpful.
Thank You
Zac Z