>Hi All,
>
>I tried to use On Key Label command to reset the control focus. Here is the command I used in the Init Method:
>
>ON KEY LABEL frmMyForm.txtField.setfocus()
>
>I got an error saying "frmMyForm is not an object". Did I miss anything?
If you are already in frmMyForm you should use reference 'Thisform'.
Thisform.txtField.setfocus()
BTW, it's better to use KeyPress event than ON KEY LABEL.
Edward Pikman
Independent Consultant