G
ghost
Greeting,
I have a text box called"FROM" with format Short time and there is an
unbound text box for showing Yes or No if FROM text box value is >= 13:00 and
I put the following code in On Open event of the form but the rsult is No:
Private Sub Form_Open(Cancel As Integer)
If Me.FROM.Value = "13:00" Then
Me.Text6 = "Yes"
Else
Me.Text6 = "No"
End If
End Sub
can any body help me please?
Note: there are more than 3 records have 13:00 and above
I have a text box called"FROM" with format Short time and there is an
unbound text box for showing Yes or No if FROM text box value is >= 13:00 and
I put the following code in On Open event of the form but the rsult is No:
Private Sub Form_Open(Cancel As Integer)
If Me.FROM.Value = "13:00" Then
Me.Text6 = "Yes"
Else
Me.Text6 = "No"
End If
End Sub
can any body help me please?
Note: there are more than 3 records have 13:00 and above