.Print triggers a .formactivate
I am printing reports in a loop.
When the user selects print without preview, I set print options.showdialog to false.
After the .Print, it triggers a .formactivate which resets all my form settings thus it doesn't print iterations after 1.
This does not happen with .ShowPreparedReport.
Is there any way to prevent the .formactivate from firing?
I will use composite reports if I have to, but I would rather not rewrite the code right now.
When the user selects print without preview, I set print options.showdialog to false.
After the .Print, it triggers a .formactivate which resets all my form settings thus it doesn't print iterations after 1.
This does not happen with .ShowPreparedReport.
Is there any way to prevent the .formactivate from firing?
I will use composite reports if I have to, but I would rather not rewrite the code right now.