In the next version of RB, is it possible to set the Report.DeviceType = dtStream? It's very useful for us to store the report output into the database or compress it.
There is a Report Archive output (.raf). It simply is a collection of page objects with draw command objects on each page. You can generate the report to an archive file and save this in a database.
But why I need to save to archive file first? I plan to use the RB in a web server to generate the report to send back to the clients. If I have to save to the report first then use TBlobField.loadfromfile and send back to the client, I don't think it's a best solution.
But why not save as a archive file format stream first, and send back to the client. And then let client select the output format (Pdf, RTF or Xls etc.) from the archive reader? My client don't use IE browser, I just want to make a thin client.
And I have already got the Extradevice 1.85, but it can't use the screen preview in the client side first, and the client just can print to a selected file format. This still limit the client ability. Anyway, ReportToStream is a very good new function of ExtraDevice.
> FYI, I was just surfin www.waler.com and saw that Extradevices has added a
With more and more people using multi-tier systems, and wanting to do the reports in the middle tier, it would be real nice if DM made this part of the base device object :-)
Comments
objects with draw command objects on each page. You can generate the report
to an archive file and save this in a database.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
server to generate the report to send back to the clients. If I have to
save to the report first then use TBlobField.loadfromfile and send back to
the client, I don't think it's a best solution.
Thanks
Tao
client. And then let client select the output format (Pdf, RTF or Xls etc.)
from the archive reader? My client don't use IE browser, I just want to
make a thin client.
Regards,
Tao
Here is an example of streaming page objects from a report.
http://www.digital-metaphors.com/tips/PageAsStream.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
ReportToStream option with version 1.85.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
And I have already got the Extradevice 1.85, but it can't use the screen
preview in the client side first, and the client just can print to a
selected file format. This still limit the client ability. Anyway,
ReportToStream is a very good new function of ExtraDevice.
Cheers,
Tao
With more and more people using multi-tier systems, and wanting to do the
reports in the middle tier, it would be real nice if DM made this part of
the base device object :-)
Thanks
Ed Dressel
Team DM