G
Guest
How can I stop in-line code execution after a Docmd.OpenForm? Thanks.
John said:How can I stop in-line code execution after a Docmd.OpenForm? Thanks.
OfficeDev18 via AccessMonster.com said:Sorry, guys, acDialog will NOT stop code execution from continuing in the
calling module, although focus will be stuck on the newly-opened form.
The only way to stop execution is by opening the new form - I concede that
acDialog is a good idea - as the last functional line of code in the calling
module (meaning it can be followed by End Function or the like, but not any
new processing).
HTH
OfficeDev18 said:Sorry, guys, acDialog will NOT stop code execution from continuing in the
calling module, although focus will be stuck on the newly-opened form.
The only way to stop execution is by opening the new form - I concede that
acDialog is a good idea - as the last functional line of code in the calling
module (meaning it can be followed by End Function or the like, but not any
new processing).
OfficeDev18 via AccessMonster.com said:Sorry, guys, acDialog will NOT stop code execution from continuing in the
calling module, although focus will be stuck on the newly-opened form.
The only way to stop execution is by opening the new form