[RESOLVED] Print only a page of data report
Hello!
I made a Data Report and I want to print using DataReport.PrintReport False.
Even the report has many pages, it is print only first page. I tries to use rptRangeFromTo or rptRangeAllPages, but in vain.
If first show the report and then I print, all works fine.
Can you help me?
Thanks a lot!
Re: Print only a page of data report
Just HIDE it. Set VISIBLE property to FALSE!
Re: Print only a page of data report
Quote:
Originally Posted by
dglienna
Just HIDE it. Set VISIBLE property to FALSE!
Problem is because I send Data Report as a parameter to a function (as Object)Only in this case it prints only first page. Any ideea to resolve the problem?
Thanks!
Re: Print only a page of data report
Sounds like the object is SENDING only one page. What DOES work?
Re: Print only a page of data report
I found the problem.
Because after I printed the report, I used Unload DataReport. And it was printed only first page of the Data report. I removed this instructions and all work fine.