Enter Key behavior

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Running an application with a lot of forms and tables. On a number of my
forms, when I enter data into a field and press the Enter key, the
application exits out of the form. I've made sure the "EnterKeyBehaviour"
parameter is set up correctly, and so forth, with no success. As an aside,
if I step through a validation macro manually, the form doesn't exit, but if
I go through automatically it does.
Could this be caused because of the size of the application?
 
In
wgaskill said:
Running an application with a lot of forms and tables. On a number
of my forms, when I enter data into a field and press the Enter key,
the application exits out of the form.

Do you mean that the form closes, or the whole application exits?
I've made sure the
"EnterKeyBehaviour" parameter is set up correctly, and so forth, with
no success. As an aside, if I step through a validation macro
manually, the form doesn't exit, but if I go through automatically it
does.
Could this be caused because of the size of the application?

Do you by any chance have a "Close" command button on that form, with
it's Default property (on the Other tab of its property sheet) set to
Yes? If so, that button will be activated when you press Enter.
 
Hitting Enter exits out of the form.

I do have a "Close" command button and it was set to "yes". I set it to
No and that solved the problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top