Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving reports

Status
Not open for further replies.

thysonj

Programmer
Jul 6, 2001
240
US
How do I automatically save a report? Right now we have published reports that we view using viewrpt.cwr. From here users can export the reports to the various types and save or save as a plain report. What we want is to be able to click a link that will download a run report. the only way this can be done is to have the report generated at runtime and then saved to a temp folder and presented for download. How can I do this?
 
Hi,
You can specify an Export format in the URL and users will get it in that format, to save, read or whatever..

Example for a PDF file:
Code:
[URL unfurl="true"]http://yourceserver/viewrpt.cwr?id=179&apsname=Guest&apsauthtype=secEnterprise&promptex-EmpNbr=00015959&CMD=EXPORT&EXPORT_FMT=U2FPDF:0[/URL]

Not a secure method ( not a good idea to pass security info), but, it does work ..
[profile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top