<enter> doesn't go to next record

  • Thread starter Thread starter M Skabialka
  • Start date Start date
M

M Skabialka

I have a subform with two fields, one the ID which is hidden, and based on
the parent form ID.

After I make an entry in the subform, then hit <enter> I want to go to the
next record, but for some reason it stays on that record.

What is the property that lets me go to the next record?

Thanks,
Mich
 
Found it:

Specify how the insertion point behaves
On the Tools menu, click Options, and then click the Keyboard tab.
Specify how the insertion point behaves when you press ENTER
Under Move after enter:
To move the insertion point to the next field after you press ENTER, click
Next field.
 
There are a couple of options, depending on your needs. The easiest is to
set the enter key behaviour in Tools->Options->Keyboard tab and select Next
Field under Move After Enter. The disadvantage is that this will appy to the
enter key for all forms. If that is not acceptable, then you may have to put
some code in the KeyPress event of your controls to set the focus to the
control you want to move to when the enter key is pressed.
 
Back
Top