A macro or a method? In a form, I'd use a method. From within a method in a form you can use the SetFocus() method.
ie. THISFORM.myObject.SetFocus()
I don't think this will work in a macro, however. You'd get the famous "THISFORM can only be used in a method of the form" error message.
Dana
>Hi. VFP7 user. How would I tell a macro to move the cursor to a particular field? (always the same one)
>
>Thanks, Randy
Where's the damned Any Key?...too late