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!

Exporting on-demand subreport

Status
Not open for further replies.

AlexB1234

Programmer
Jul 9, 2003
26
US
Trying to export an on-demand subreport, i.e. a user clicks the link that displays the sub-report, when I execute .Export() the main report, not the subreport, exports!

If I call .Export on the subreportobject I get "Error: Missing parameter field current value".

Any ideas anyone?
 
What version of Crystal are you using? On Crystal 8.5, you need to select the subreport, and under [File] you will find [Save Subreport As]

Madawc Williams
East Anglia, Great Britain
 
Is the user clicking the export button in the viewer, or are you trying to trigger this some other way? If you aren't relying on the viewer the program probably doesn't know which group you are trying to export. You would have to pass the linking parameters to the subreport.

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
I'm trying to do it programmatically. I think I need to pass the linking parameters but I don't know how to do that. Any ideas?
 
See faq149-237 and provide more info.

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Tips and Tricks / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top