Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store RPT into a database
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
01120499
Message ID:
01121764
Views:
12
Robert,
I don't know if I understand your motivation for what you want to do. If you want to re-print a report in the future, why not just export the report to PDF and store the PDF somewhere where you can retreive it in the future.

If you don't like that idea. you could save the data used in the report in a XML file and then use the read XML feature to create a dataset and then push the dataset into your report at run time. You might have to redesign your report in order to go this route.

Hope this helps,
Einar

>Hi all!
>
>I'm facing a really big problem.
>I've to create sort of output queue, which means you 'print' reports into a database and can then print / export them at a later time at any place and time; without knowing the original datasource, ...
>
>My problem is that I've to put a Crystal Report (and all related information) into the database and be able to recall it again. For saving the report including data I'm using the 'SaveAs(string, bool)' command to create a seperate file. This file then gets read into a stream and converted to a string which is saved in the database.
>So far so good.
>
>But if I'm trying to reload this report document from the database (create a rpt-file of the saved string) I'm not able anymore to load / create the report.
>
>Any suggestions???
>I'm using VS 2005 (C#) and the related version of Crystal Reports (for VS 2005).
>
>TIA
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform