How to?

S

Selby

How do I change where the cursor goes to when you close a subform? I need to
have it go to another location on the form when finished with the
subform........
 
J

John W. Vinson

How do I change where the cursor goes to when you close a subform? I need to
have it go to another location on the form when finished with the
subform........

You can set the Tab Order of the form containing the subform, so that the
other location is next after the Subform control in the tab order.

There are things you can do with VBA code and the SetFocus method, but they
shouldn't be required in this simple case.

Hrmmmm... do you really mean *A SUBFORM*? You don't usually "close" a subform.
Are you instead talking about a popup form, separate from the mainform?
 
M

Maurice

Depends on what's left open but you could use the setfocus option. From the
subform you can use the close event and then determine where you want the
focus to be.
 

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