I\'m just wondering how I can show the correct execution time on a report?
Until recently I had been using the following in the footer of my reports as a label expre
I'd build this using custom code:
Public Dim ExecText As String
Public Function ExecTime() As String
If (ExecText = "") Then
ExecText = // Calculate execution time here
End If
ExecTime = "Execution Time: " + ExecText
End Function
Then in your footer text box just put
=Code!ExecTime()
and your execution time will calculate just once for the first footer and after that will return the previously calculated result.