jerryreeve
Vendor
I am trying to get two displays on a form, first one is just a clock (txtTimeCount) that is working correctly. second one is a count up timer that displays elapsed time on the form (txtShortCount) I am running into a error 13 type mismatch. it does not like the countup display line.
I am thinking that I will need to format the datatype of txtshortcount to date but that did not help at all.
I have been looking on the forum and microsoft's pages but I just am not seeing the obvious, can you guys give me a steer in the right direction?
thanks
----------------------------
Hill?? What hill??
I didn't see any $%@#(*$ Hill!!
----------------------------
JerryReeve
Communication Systems Int'l
com-sys.com
I am thinking that I will need to format the datatype of txtshortcount to date but that did not help at all.
I have been looking on the forum and microsoft's pages but I just am not seeing the obvious, can you guys give me a steer in the right direction?
thanks
Code:
Private Sub Form_Timer()
Dim TimeCountStart As Date
TimeCountStart = Time$()
Me.txtTimeCount = Time$() 'Time display
Me.txtShortCount = Time$() - TimeCountStart 'countup display
Me.TimerInterval = 1000
End Sub
----------------------------
Hill?? What hill??
I didn't see any $%@#(*$ Hill!!
----------------------------
JerryReeve
Communication Systems Int'l
com-sys.com