Question Report Question Regarding DateDiff

Steve_T

Registered User.
Local time
Today, 17:29
Joined
Feb 6, 2008
Messages
96
Hi i have a Textbox called DateTimeGiven which CONCATENATION the Date and TIME: =[DateDefectGivenToEngineer] & " " & [TimeDefectGivenToEngineer]
and another one that does the same: DateTimeReported: =[DateReportedToRepairServices] & " " & [TimeReportedToRepairServices].

I am trying to find the difference between them both using =DateDiff("n",[DateTimeReported],[DateTimeGiven])\60 & ":" & Format(DateDiff("n",[DateTimeReported],[DateTimeGiven]) Mod 60,"00")

When i run the report i seems that the data cant be seen and Access asks for values for the both mentioned boxes. i have checked the CONCATENATION and they work fine its just the DateDiff's

Can anyone help????
 
Last edited:
Yes i can see the problem now, your right it was down to the format.
Thanks it works fine now
 

Users who are viewing this thread

Back
Top Bottom