K
Karen Creacy via AccessMonster.com
I get an OnReport runtime error...unable to trap it because none of the
events in the report are called (open, init, error...) nor the error
handling in the procedure...when this runtime error is thrown. We actually
take a report, copy it so that it can be renamed, then docmd.OpenReport
with the new copy. When the report gets to a certain length...it will
start getting an error that it cannot recover from. The call never makes
it out of the OnReport call.
I can then get behind the scenes...and see where the 'copied' report has
been created...open it in Access...and print to my Distiller printer
without any problems. It is just when it is running via the
DoCmd.OpenReport command that it fails out.
I am running Access 2000 - SP3....
When in runtime...it throws exception - runtime error and ends. When in
debug mode...never returns from the call.
Thanks for anyone's help...
events in the report are called (open, init, error...) nor the error
handling in the procedure...when this runtime error is thrown. We actually
take a report, copy it so that it can be renamed, then docmd.OpenReport
with the new copy. When the report gets to a certain length...it will
start getting an error that it cannot recover from. The call never makes
it out of the OnReport call.
I can then get behind the scenes...and see where the 'copied' report has
been created...open it in Access...and print to my Distiller printer
without any problems. It is just when it is running via the
DoCmd.OpenReport command that it fails out.
I am running Access 2000 - SP3....
When in runtime...it throws exception - runtime error and ends. When in
debug mode...never returns from the call.
Thanks for anyone's help...