S Soma_rich Registered User. Local time Today, 01:42 Joined May 2, 2007 Messages 58 May 3, 2007 #1 Is there any way to time how long a query takes to run. Without using a stop watch and watching the thing .
Is there any way to time how long a query takes to run. Without using a stop watch and watching the thing .
pdx_man Just trying to help Local time Today, 01:42 Joined Jan 23, 2001 Messages 1,346 May 4, 2007 #2 You can use VBA. Code: Public Sub TimeIt() Dim StartTime, EndTime As Date StartTime = Now() DoCmd.OpenQuery "Qry_APR_Post" EndTime = Now() MsgBox "Seconds to run query:" & DateDiff("S", StartTime, EndTime) End Sub
You can use VBA. Code: Public Sub TimeIt() Dim StartTime, EndTime As Date StartTime = Now() DoCmd.OpenQuery "Qry_APR_Post" EndTime = Now() MsgBox "Seconds to run query:" & DateDiff("S", StartTime, EndTime) End Sub
S Soma_rich Registered User. Local time Today, 01:42 Joined May 2, 2007 Messages 58 May 4, 2007 #3 pdx_man that perfect I really should have got that on my own! Thank you!