S Soma_rich Registered User. Local time Today, 13:03 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 .
Uncle Gizmo Nifty Access Guy Staff member Local time Today, 21:03 Joined Jul 9, 2003 Messages 17,637 May 3, 2007 #2 Yes I have seen this done! There is information on the web somewhere! Try Rogers access library....
pdx_man Just trying to help Local time Today, 13:03 Joined Jan 23, 2001 Messages 1,347 May 4, 2007 #3 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, 13:03 Joined May 2, 2007 Messages 58 May 4, 2007 #4 pdx_man that perfect I really should have got that on my own! Thank you!