How can I use the press "Enter" to move the cursor to the subform from the master form

D

Dirk Goldgar

How about a little more information? Do you want to move from any
particular control to the subform? If so, you could just put the
subform next in the tab order after that control. If not, please
describe the layout of your form and how you want it to operate.
 
B

Billy Yao [MSFT]

Hello,

Thank you for using MSDN Newsgroup! It's my pleasure to assist you with
this issue.

How is this issue going on your side currently? I'm unsure if Dirk's
suggestion addressed your problem. Please provide more information so that
things can be clearer and we will be of assistance and deliver quick and
effieient solution.

For move after Enter, we can perform this in filed or record. As to move
the cursor to the subform from the master form: if you want to control the
cursor: when navigating the record in form/subform, the following method
makes the cursor appear first in the first field of the subform.

----------------------------------------------------------------------------
-----------

In main form's onCurrent event, add code: [subform_control].setfocus

In subform's onCurrent event, add code: [first_control].setfocus
----------------------------------------------------------------------------
-----------

For accurate solution to your problem, please specify detailed information
and provide some samples for our narrowing down your problem. If there is
anything we can do to assist you, just feel free to let us know.

Best regards,

Billy Yao
Microsoft Online Support
 

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

Top