Firstly, I'm VERY green on all this Crystal stuff - so please excuse my
ignorance. I see on other posts that to print a report without using
the viewer use:
Dim crReportDocumen t As ReportDocument
crReportDocumen t = New myCrystalReport ()
crReportDocumen t.PrintOptions. PrinterName = "\\server\mypri nter"
crReportDocumen t.PrintToPrinte r(1, True, 1, 1)
When I display the report using the Viewer I pass it some parameters,
eg. CrystalReportVi ewer1.Parameter FieldInfo = crParameterFiel ds
My question is, how to I pass these parameters when printing the report
without using the viewer? Or, do I still need to use the viewer, hide
it on the form, and assign the ParameterFieldI nfo to it? Whats the
normal way of doing this? I hope i make sense!
Thanks in advance,
David.
ignorance. I see on other posts that to print a report without using
the viewer use:
Dim crReportDocumen t As ReportDocument
crReportDocumen t = New myCrystalReport ()
crReportDocumen t.PrintOptions. PrinterName = "\\server\mypri nter"
crReportDocumen t.PrintToPrinte r(1, True, 1, 1)
When I display the report using the Viewer I pass it some parameters,
eg. CrystalReportVi ewer1.Parameter FieldInfo = crParameterFiel ds
My question is, how to I pass these parameters when printing the report
without using the viewer? Or, do I still need to use the viewer, hide
it on the form, and assign the ParameterFieldI nfo to it? Whats the
normal way of doing this? I hope i make sense!
Thanks in advance,
David.
Comment