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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No parameter prompts when export_fmt = pdf

Status
Not open for further replies.

pgmr777

Programmer
Aug 16, 2006
111
US
BOE XI/Crystal XI/sp4
Need a report to prompt for params and export to pdf (&cmd=export&export_fmt=u2fpdf%3a0).
Report only prompts when exporting to the other formats, java/actx etc, but when I choose pdf it doesn't.
If I put the promptex params in the url it works, but I need to leave them out in this case and let the user fill them in.
Thanks for any help.
 
Hi,
i believe that since a PDF file is not really an active output source ( like Actx or Java) it will not prompt when called from a command line like that..You may have to have the user run the report interactively and then choose to export to PDF.


Are they running the report from InfoView or from some custom interface you built?




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Hi, they're running it on-demand url method (/crystalreportviewers11/viewrpt.aspx?id=...) from a custom app.
Yeah I have them doing what you suggested for now, outputting java viewer, which prompts for the params first, then exporting pdf from that, but it would be nice if it prompted for the params when the "&cmd=export&export_fmt=u2fpdf%3a0" is included, but it doesn't, just gets an xml error if I leave out the promptex-xxx params in that mode.
Thanks for your help.
 
Hi,
Can you add code to your app to prompt for values so you can append them ( using the promptex-xxx format ) to the URL?




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Yeah that seems to be the only way I guess, too bad it won't prompt before exporting...thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top