![]() |
|
|
|||||||
|
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I'm trying to set up a "Submit Button" which will allow you to go to the next record and the first field of the record upon clicking or pressing enter on it (in a form).
How can set up this command? Thanks in advance! |
|
#2
|
||||
|
||||
|
The Command Button wizard know how to make a button that goes to the next record. Have you tried it?
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07 If your issue is resolved...follow this link for directions on how to use the Solved thread tool! Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus" |
|
#3
|
|||
|
|||
|
I tried to use the command button wizard, but it only allows me to go to a new record - but not the new field. If I were to do this using set focus, how would my code look like? I want to set the focus on the field called "Last Name" (please see my attached pic of the form)
|
|
#5
|
|||
|
|||
|
Quote:
But please let me know how I should insert the setfocus code. |
|
#6
|
||||
|
||||
|
Quote:
Thanks. -RC |
|
#7
|
||||
|
||||
|
Setting the focus is easy but that picture you posted liiks like a main form and the TabIndex would accomplish what you want as MAF4Fam6 suggested. If you don't want to use the TabIndex then post the code the wizard created for your Submit button and we'll add a SetFocus line for you.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07 If your issue is resolved...follow this link for directions on how to use the Solved thread tool! Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus" |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Access Questions for a Newbie - Duplicates using the Next Record button | adamcm | Access | 11 | 01-21-2010 08:01 AM |
| Creating a Switchboard button - search for record and open up specific form / report | diane802 | Access | 3 | 01-14-2010 05:32 AM |
| Command button help - delete record | Zukster | Forms | 0 | 08-27-2009 06:47 AM |
| make Add Record button work | janjan_376 | Forms | 3 | 06-05-2009 02:22 AM |
| Find Record button error | Zedlexx | Forms | 0 | 03-11-2009 07:26 AM |