Hi
Access 2007, .mdb
I have an unlinked mainform/subform used as Modal. I have close button allowed on the mainform.
If the VB fails in my subform my error trapping includes a :-
DoCmd.Close acForm, Me.Parent.Form.Name, acSaveNo
It does not close however. None of my custom exit/cancel buttons or whatever will work and neither does the form's close button (X).
The only way I can get out of this is to kill Access from the Windows TaskList. Seems a bit drastic... anyone know of any orher way to kill the offending form?
thnx
Access 2007, .mdb
I have an unlinked mainform/subform used as Modal. I have close button allowed on the mainform.
If the VB fails in my subform my error trapping includes a :-
DoCmd.Close acForm, Me.Parent.Form.Name, acSaveNo
It does not close however. None of my custom exit/cancel buttons or whatever will work and neither does the form's close button (X).
The only way I can get out of this is to kill Access from the Windows TaskList. Seems a bit drastic... anyone know of any orher way to kill the offending form?
thnx