Folks,
I'm trying to interrupt an OnExit event if the user clicks on a particular control. Frankly not sure if the OnExit event allows this. Here's the position:-
There's a main and sub form. I'm looking at the OnExit event of the subform which offers just two events - OnEnter and OnExit. The OnExit event does some processing for all the records on the subform. Part of this processing tells the user that there are one or more incomplete records and that's OK if the user wants to click one of several buttons on the main form that process the subform data in various ways but not if they try to change the main form record (the Main Form uses a date field tied in with a Calendar Control).
What I'd really like to do is, under the OnExit, event, is give a warning message if they go to some controls on the main form but not others.
Happy to post the current code if that helps and TIA for any help on this. I'm currently using Access 2002 and Win XP.
Regards
Helm
I'm trying to interrupt an OnExit event if the user clicks on a particular control. Frankly not sure if the OnExit event allows this. Here's the position:-
There's a main and sub form. I'm looking at the OnExit event of the subform which offers just two events - OnEnter and OnExit. The OnExit event does some processing for all the records on the subform. Part of this processing tells the user that there are one or more incomplete records and that's OK if the user wants to click one of several buttons on the main form that process the subform data in various ways but not if they try to change the main form record (the Main Form uses a date field tied in with a Calendar Control).
What I'd really like to do is, under the OnExit, event, is give a warning message if they go to some controls on the main form but not others.
Happy to post the current code if that helps and TIA for any help on this. I'm currently using Access 2002 and Win XP.
Regards
Helm
Comment