R
RL
Good morning,
I have a button on a form which triggers a macro. The first step of the
macro is to open another form in dialog mode, which asks them 'Is the
information correct'.
As this second form is in dialog mode, the first macro pauses until it has
been closed.
There are two buttons on the second form; 'Yes' and 'No'.
'Yes' simply closes the second form so that the original macro can continue.
I want 'No' to close the second form and stop the original macro from
finishing.
If I put 'StopAllMacros' as the first step followed by 'Close', the second
form is never closed because the macro that would close it has been stopped.
Conversely, if I 'Close' first followed by stop all macros, Access reverts
to the original macro as soon as the second form is closed so that the
StopAllMacros command never executes.
Is there anyway I can StopAllMacros except the current one? Or can I set a
macro parameter that makes it immune from the StopAllMacros command?
Thanks in advance.
RL
I have a button on a form which triggers a macro. The first step of the
macro is to open another form in dialog mode, which asks them 'Is the
information correct'.
As this second form is in dialog mode, the first macro pauses until it has
been closed.
There are two buttons on the second form; 'Yes' and 'No'.
'Yes' simply closes the second form so that the original macro can continue.
I want 'No' to close the second form and stop the original macro from
finishing.
If I put 'StopAllMacros' as the first step followed by 'Close', the second
form is never closed because the macro that would close it has been stopped.
Conversely, if I 'Close' first followed by stop all macros, Access reverts
to the original macro as soon as the second form is closed so that the
StopAllMacros command never executes.
Is there anyway I can StopAllMacros except the current one? Or can I set a
macro parameter that makes it immune from the StopAllMacros command?
Thanks in advance.
RL