S
SurveyorinVA via AccessMonster.com
Good morning,
I have a form named "frmMain" that is comprised of two subforms,
"subfrmRight" & "subfrmLeft". subfrmLeft source object is linked to a form
that acts as a menu system. Click on one of the menu items within this
subform and the source object changes in "subfrmRight".
One of the forms for subfrmRight is named frmClientNew which allows the user
to create new client records. There is a save button and cancel button on
this form that controls the behavior of whether the data is saved to the
record or not.
I am looking for the event either in frmClientNew or in subfrmRight that will
show a warning message if the user clicks outside of subfrmRight. Basically
if the user tries going to another menu item in the subfrmLeft or clicks on
one of the icons in frmMain's header section. I have done several trials on
the "OnActivate", "OnLostFocus" of frmClientNew and the OnExit event of
subfrmRight and the OnEnter even of subfrmLeft. Nothing seems to allow me to
show a warning message.
Any help in this endeavor would be greatly appreciated. Thank you in advance.
Chris
I have a form named "frmMain" that is comprised of two subforms,
"subfrmRight" & "subfrmLeft". subfrmLeft source object is linked to a form
that acts as a menu system. Click on one of the menu items within this
subform and the source object changes in "subfrmRight".
One of the forms for subfrmRight is named frmClientNew which allows the user
to create new client records. There is a save button and cancel button on
this form that controls the behavior of whether the data is saved to the
record or not.
I am looking for the event either in frmClientNew or in subfrmRight that will
show a warning message if the user clicks outside of subfrmRight. Basically
if the user tries going to another menu item in the subfrmLeft or clicks on
one of the icons in frmMain's header section. I have done several trials on
the "OnActivate", "OnLostFocus" of frmClientNew and the OnExit event of
subfrmRight and the OnEnter even of subfrmLeft. Nothing seems to allow me to
show a warning message.
Any help in this endeavor would be greatly appreciated. Thank you in advance.
Chris