Article ID: 180762
Article Last Modified on 3/11/2005
Private Sub Command2_Click()
If Command1.Value = False Then
Command1.SetFocus ' Set focus to Command1.
Command1.Value = False ' Set the Value property back to False.
MsgBox "Command1.Value = " & Command1.Value
Else
Command1.SetFocus 'Set focus to Command1.
End If
End Sub
Private Sub Form_Load()
Command1.Value = False
MsgBox "Command1.Value = " & Command1.Value
End Sub
Private Sub Command2_Click()
Command1.SetFocus
MsgBox "Command1.Value = " & Command1.Value
End Sub
Additional query words: wince wce vbce evb vbce6
Keywords: kbbug kbtoolkit kbpending KB180762