M
mattc66 via AccessMonster.com
I want to flash a label on and off if the feild "Hold1" = "h". I tried to use
the below code, but the label doesn't flash. Can anyone see my error and
offer a suggestion? Thanks
Private Sub Form_Timer()
If Me.HOLD1 = "h" Then
If lngTimeVar < 1000 Then
Me.lblOnHold.Visible = Not Me.lblOnHold.Visible
lngTimeVar = lngTimeVar + 250
Else
Me.lblOnHold.Visible = True
End If
End If
End Sub
the below code, but the label doesn't flash. Can anyone see my error and
offer a suggestion? Thanks
Private Sub Form_Timer()
If Me.HOLD1 = "h" Then
If lngTimeVar < 1000 Then
Me.lblOnHold.Visible = Not Me.lblOnHold.Visible
lngTimeVar = lngTimeVar + 250
Else
Me.lblOnHold.Visible = True
End If
End If
End Sub