G
Guest
I am trying to calculate difference betwen last update and current time:
Dim sngElapsedTime As Date
Dim Last_Update As Date
Dim sMsg As String
sMsg = " Please update" & " " & [Ticket #]
'determine the amount of time that has elapst between when the form
'was open and now.
sngElapsedTime = Now() - [Last Update]
'Update the timer
txtTimeDiff = Format(sngElapsedTime, "hh:mm")
How can I write if function that will display message after differnce is >
59 minutes?
Thanks
Dim sngElapsedTime As Date
Dim Last_Update As Date
Dim sMsg As String
sMsg = " Please update" & " " & [Ticket #]
'determine the amount of time that has elapst between when the form
'was open and now.
sngElapsedTime = Now() - [Last Update]
'Update the timer
txtTimeDiff = Format(sngElapsedTime, "hh:mm")
How can I write if function that will display message after differnce is >
59 minutes?
Thanks