Small company logo:
   History
 
Advertising banner:
 
 Field.SetFocus
Home • Help • Customization Tools • FCAS • Language Reference • Field.SetFocus
 
Purpose
Sets the application focus of a field.
If the form the field is on is shown, but not active, the form is activated and the focus is set. If the field receiving focus is hidden or protected, this method has no effect.
Syntax
[Form].Field.SetFocus
Example
Sub Click()
        StringField1002.SetFocus        'set focus to StringField 1002
End Sub