View Full Version : After submit goto specific field


david_Barkley
01-09-2002, 07:33 AM
I have my form all setup. When the user presses the submit button to print a label, I want the cursor to go to a specific field.

I am not sure how or if it can be done.

Thanks,
Dave

LQ
01-09-2002, 08:01 AM
You can use SetFocus to move the focus to a specific field....look up the SetFocus method in Access Help for a detailed explanation.

david_Barkley
01-09-2002, 08:47 AM
Thanks, that is working great.

What I needed it for was scanning bar codes into Access. This way when I scan a bar code, it prints a label all automatic and goes right back to the field ready for another bar code to be scanned.
This is all without touching the keyboard.

Once again, thanks a lot.