Date Help

Raimond

New member
Local time
Today, 03:26
Joined
Mar 9, 2009
Messages
4
I need to calulate the number of days between received and approved.
This is returning an error

DateDiff ("d", main![date approved], main![date received])

Thanks in advance
 
If in a query you would use:

MyNewFieldName: DateDiff ("d", [date approved], [date received])

If on a form as a control source:

=DateDiff ("d", [date approved], [date received])

In VBA from an event

Me.YourTextBoxNameHere = DateDiff ("d", Me.[date approved], Me.[date received])

So, perhaps I didn't catch your actual use. If so, let me know so I can go from here.
 
Thank you very much
 

Users who are viewing this thread

Back
Top Bottom