Hi.
If one has a report that needs to be printed, but the report is pictures, and many of them. At some time during the printing process(usualy half way through), a message pops up with something -"out of memory" .This is becuase the report consiscts of about 1000 and I guess there is not enough mem. to make the whole report...dunno realy.
Anyway
my problem is that I need to insert some error handling, that would take the last page made, and continue printing a new job from there. This way the whole report can be written out. I therefore need to insert VBA in the onprint part of the report, to catch the error and call a new print to start printing from pagenumber "Pages".
Does anyone have an idea of what the code could look like?
If one has a report that needs to be printed, but the report is pictures, and many of them. At some time during the printing process(usualy half way through), a message pops up with something -"out of memory" .This is becuase the report consiscts of about 1000 and I guess there is not enough mem. to make the whole report...dunno realy.
Anyway
my problem is that I need to insert some error handling, that would take the last page made, and continue printing a new job from there. This way the whole report can be written out. I therefore need to insert VBA in the onprint part of the report, to catch the error and call a new print to start printing from pagenumber "Pages".
Does anyone have an idea of what the code could look like?