I'm writing a Windows application that will be run from another application we use. I want the Windows program to create a text file from data in a Crystal report. The 1st application will supply a parameter to the Crystal report as a command line parameter. I have a test program written that will accept the command line parameter and show the report with the correct data in a Crystal Report Viewer control on the main form. However, I don't want to use a viewer, in fact I don't really want to use a form. Is this possible?
I've been going in circles through the help screens and can find examples of how to use parameters by building a paramFields object and associating it with the report viewer using:
ReportViewer.ParameterFieldInfo = paramFields
And I've seen an example of how to export a report without using a viewer, but I haven't seen any way to do both, ie get a report to open using a supplied command line parameter, and export it to a text file without using a report viewer.
Any and all help appreciated, thanks.
Kerry
I've been going in circles through the help screens and can find examples of how to use parameters by building a paramFields object and associating it with the report viewer using:
ReportViewer.ParameterFieldInfo = paramFields
And I've seen an example of how to export a report without using a viewer, but I haven't seen any way to do both, ie get a report to open using a supplied command line parameter, and export it to a text file without using a report viewer.
Any and all help appreciated, thanks.
Kerry