Subform to form events

M

michael

I have a form with a subform (which is a datasheet).

I found that the subform control OnClick event will fire when I move
from the form to the subform, however, I can not find an event that
will fire when I move from the subform back to the parent form. I
have tried Form_Activate, Form_MouseClick, Form_KeyDown, etc.
MouseMove seems to work once in a while but not stable enough to
trust.


Does anyone know how I can get code to run when I switch from a
subform back to a form?
 
J

Jeanette Cunningham

Hi,
there is an on exit event for the subform. This fires when the user leaves
the subform and returns to the main form. I don't know if it will do what
you want.

Jeanette Cunningham
 
M

michael

That's perfect. It was right there in my face and I didn't even see
it!!!

Thanks bunches...

Michael
 

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