Streaming previewed/printed reports
Hi,
We need to stream a previewed/printed report to a blob field in the database
per document during one run. Fi when we have 5 invoices in a dataset ready
to be printed. All the invoices are printed during one run (1 report
shown/printed with results from 5 invoices). Now we want to stream each
invoice (1 or more pages from the global report) from the global report (5
invoices) seperatly to a blob field. Is this possible using reportbuilder?
Greetings,
Filip Moons
We need to stream a previewed/printed report to a blob field in the database
per document during one run. Fi when we have 5 invoices in a dataset ready
to be printed. All the invoices are printed during one run (1 report
shown/printed with results from 5 invoices). Now we want to stream each
invoice (1 or more pages from the global report) from the global report (5
invoices) seperatly to a blob field. Is this possible using reportbuilder?
Greetings,
Filip Moons
This discussion has been closed.
Comments
I'm a bit unclear about what exactly you would like to stream to your blob
field. If you would like to save your report template to a stream, you can
use the TppReport.Template.SaveToStream method. If you were looking to
print perhaps an archive file or PDF file to stream, ReportBuilder does not
currently support this, however it will be added for the next maintenance
release of RB 9.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Ok, i'll try to rephrase my question. Reports Pipeline contains 5 invoice
records.
When we traverse all, the report will contain 5 invoices 1,2,3,4,5.
Each invoice starts on a new page:
-Invoice 1 = Page 1
-Invoice 2 = Page 2-4
-Invoice 3 = Page 5
-Invoice 4 = Page 6-7
-Invoice 5 = Page 8.
Thus the printed report will contain 8 pages in total from 5 invoices.
Now what i want to do is stream
-Page 1 to a blob field linked to invoice 1,
-Page 2-4 to a blob field linked to invoice 2,
-Page 5 to a blob field linked to invoice 3,
-Page 6-7 to a blob field linked to invoice 4,
-Page 8 to a blob field linked to invoice 5,
Hope this helps,
Greetings
Filip Moons
nice that it will be added. :-)
FWIW, for those looking for an immediate solution to this they could save
the archive/PDF report to a temp file and then use a file stream.
Ed Dressel
print each page to a temp file and then load it into a stream to save it to
a database.
HTH
Ed Dressel
Team DM
Can u print out a report and save it to a temp file at the same time. How do
i print each page to a temp file?
Could u give me an example.
Greetings,
Thx