bufalobk
asked on
ExportToDisk in Crystal Report Error!
Hi,
I want to export my report into pdf, word, etc...
My Application is web-based
The command I use is
Protected WithEvents report As CrystalDecisions.CrystalRe ports.Engi ne.ReportC lass
report = New rptTest
report.ExportToDisk(Export FormatType .PortableD ocFormat, "c:\test.PDF")
Error description is :
Missing parameter field current value.
Can U help me!
Thank you!
I want to export my report into pdf, word, etc...
My Application is web-based
The command I use is
Protected WithEvents report As CrystalDecisions.CrystalRe
report = New rptTest
report.ExportToDisk(Export
Error description is :
Missing parameter field current value.
Can U help me!
Thank you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
bufalobk:
Your welcome.
If you included Import CrystalDecisons.Shared then it means you already had it as a reference.
Since it is obvious that I guided you to the correct solution, the acceptance of my answer will be appreciated.
Dabas
Your welcome.
If you included Import CrystalDecisons.Shared then it means you already had it as a reference.
Since it is obvious that I guided you to the correct solution, the acceptance of my answer will be appreciated.
Dabas
ASKER
It's not "CrystalDecisions.Shared as a reference" . I included "Import CrystalDecisions.Shared" line at the beginning of code.
The reason is I pass parameter values to the CrystalReportViewer to display data intead of passing to report document.
Parameter must be passed value to report document before export into disk.
Thank you anyway!