P
Paul3rd
Hello,
On a form I have two text boxes that contain different times, the text boxes
are formatted as Long Time.
Text114 is the system time. JETime is a time stamp.
I need to convert these two long times to doubles so I can compare the values.
Something like:
Dim NTime As Double
Dim JET As Double
NTime = CDbl(Me.Text114.Value)
JET = CDbl(Me.JETime.Value)
If NTime > JET Then
Me.Text114.ForeColor = vbRed
End If
Or, am I completely off base using the CDbl function?
Can anyone provide help?
Thanks in advance,
Paul
On a form I have two text boxes that contain different times, the text boxes
are formatted as Long Time.
Text114 is the system time. JETime is a time stamp.
I need to convert these two long times to doubles so I can compare the values.
Something like:
Dim NTime As Double
Dim JET As Double
NTime = CDbl(Me.Text114.Value)
JET = CDbl(Me.JETime.Value)
If NTime > JET Then
Me.Text114.ForeColor = vbRed
End If
Or, am I completely off base using the CDbl function?
Can anyone provide help?
Thanks in advance,
Paul