View Full Version : MOVE CURSOR AFTER CLICKING BUTTON


danaleblanc
06-13-2001, 11:49 AM
After I click button to add a new record, I want cursor to move to the first field. Does anyone have the answer to this?

D-Fresh
06-13-2001, 11:54 AM
In the On Current event of your form, put this code..

me![FirstFieldName].SetFocus

That should do it for you.

Doug

danaleblanc
06-13-2001, 02:18 PM
Thanks for message. When I enter this code, I get an error message saying Chemicals can't find a macro 'FacilityName' and won't view form - What am I doing wrong?