Blank pages when calling printReport multiple times

  • Thread starter Thread starter Raul Medina
  • Start date Start date
R

Raul Medina

I am trying to print the same visual basic report multiple
times in my VB 6.0 application using the command
<reportObject>.printReport False, rptRangeAllPages. The
only thing that differs between each report is a label
that get modified. The result is only the last report
processed is printed with the other reports producing
blank pages.

If I put a delay so that each printReport command is
called only after the preceding report is printed will
they all print out correctly. Delaying until the report
is spooled isn't enough. The report must be printed by
the printer before the next printReport is called or the
previous report will be blank.

Any help as to a solution to this problem with using a
delay would be apprieciated.

Thanks in advance,
Raul
 
Hi, this is a VB.NET newsgroup, please post to microsoft.public.vb[.*]

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
 
Hello,

Raul Medina said:
I am trying to print the same visual basic report multiple
times in my VB 6.0 application using the command
<reportObject>.printReport False, rptRangeAllPages. The

Ng for Data Environment Reports:

news://news.microsoft.com/microsoft.public.vb.dataenvreport

Ng for Crystal Reports:

news://news.microsoft.com/microsoft.public.vb.crystal

Regards,
Herfried K. Wagner
 
Back
Top