switching between forms

N

NasaDBGuy

I have a form with lots of sub forms and sub-sub-forms. Is there an event
that fires when switching from one subform to another?
 
M

Marshall Barton

NasaDBGuy said:
I have a form with lots of sub forms and sub-sub-forms. Is there an event
that fires when switching from one subform to another?


The subform control's (on the main form) GotFocus and Enter
events will fire when you move to a subform. That will not
tell you that you came from a subform, but
Screen.PreviousControl may help with that.
 

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