Events Questions

G

Guest

Hello,

I have a Form & a SubForm on it.

When I am in the SubForm in a control in it & I Click back to a Control on
the Form what Event is triggered ?
Could it be possible that none are ???

I tried just about all of the Events from within that Control I am in
(LostFocus, Exit, ...) & I also tried just about all of the Events from
within the SubForm & none of them get Triggered.

The BeforeUpdate, AfterAUpdate, Dirty, Events will get triggered but only if
I CHANGE the data in that SubForm Control. On Exit only gets triggered if I
moved to another control in the SubForm NOT if I go to a Control in the
regular Form.

I want to do something if no data is changed & user just goes to another
control on the Regular Form.

Again what I am looking for is when I am in the SubForm in a control in it &
I Click back to a Control on the Form what "Event is triggered ?"

Any help would be greatly appreciated.

Thank you,
Jeff
 
R

Rick Brandt

Jeff said:
Hello,

I have a Form & a SubForm on it.

When I am in the SubForm in a control in it & I Click back to a Control on
the Form what Event is triggered ?
Could it be possible that none are ???

I tried just about all of the Events from within that Control I am in
(LostFocus, Exit, ...) & I also tried just about all of the Events from
within the SubForm & none of them get Triggered.

The BeforeUpdate, AfterAUpdate, Dirty, Events will get triggered but only if
I CHANGE the data in that SubForm Control. On Exit only gets triggered if I
moved to another control in the SubForm NOT if I go to a Control in the
regular Form.

I want to do something if no data is changed & user just goes to another
control on the Regular Form.

Again what I am looking for is when I am in the SubForm in a control in it &
I Click back to a Control on the Form what "Event is triggered ?"

Try the exit event of the subform *control* on the main form, rather than
an event in the subform itself.
 
G

Guest

Hi Rick, that was it !! THANK YOU !!

Rick Brandt said:
Try the exit event of the subform *control* on the main form, rather than
an event in the subform itself.
 

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