ThunderBolt
Registered User.
- Local time
- Today, 18:32
- Joined
- Apr 29, 2003
- Messages
- 25
Private Sub Quantity_AfterUpdate()
If [Quantity] < 1 Or [Quantity] > 3 Then
MsgBox "Invalid Number Of Labourers", vbOKOnly
[Quantity] = Null
[Quantity].SetFocus
End If
End Sub
The SetFocus command doesn't seem to work. I want the cursor to be set in the "Quantity" test box, but it isn't working???
Any help would be much appreciated.
Regards,
Thunderbolt
If [Quantity] < 1 Or [Quantity] > 3 Then
MsgBox "Invalid Number Of Labourers", vbOKOnly
[Quantity] = Null
[Quantity].SetFocus
End If
End Sub
The SetFocus command doesn't seem to work. I want the cursor to be set in the "Quantity" test box, but it isn't working???
Any help would be much appreciated.
Regards,
Thunderbolt