D
drisso
Hello,
I have searched that error on these message boards, msdn and
crystaldecisions.com. I found tutorials that showed how to export a
crystal report to pdf, but like many others I am getting an error when
I actually do the oRpt.Export() command. The error is "Missing
parameter field current value." I looked this error up on
crystaldecisions.com and they had a patch which I downloaded, installed
and rebooted the machine, but still same error. I set the parameters
and report in the Page Load method. I set the export options in the
Button event. I have a print button that will sets all the export
options and calls export, etc. I even tried adding a value right
before oRpt.Export() is called. I wrote this line before oRpt.Export()
this.oRpt.ParameterName.CurrentValues.Add(discretevalue);
discrete value has a value with string "None" so I know there is a
value there, but it still errors out. Please can someone tell me why
this always comes up and a way around it? Since you can't print with
crystal report 9 directly in web forms I need to use this.
Thanks,
David
I have searched that error on these message boards, msdn and
crystaldecisions.com. I found tutorials that showed how to export a
crystal report to pdf, but like many others I am getting an error when
I actually do the oRpt.Export() command. The error is "Missing
parameter field current value." I looked this error up on
crystaldecisions.com and they had a patch which I downloaded, installed
and rebooted the machine, but still same error. I set the parameters
and report in the Page Load method. I set the export options in the
Button event. I have a print button that will sets all the export
options and calls export, etc. I even tried adding a value right
before oRpt.Export() is called. I wrote this line before oRpt.Export()
this.oRpt.ParameterName.CurrentValues.Add(discretevalue);
discrete value has a value with string "None" so I know there is a
value there, but it still errors out. Please can someone tell me why
this always comes up and a way around it? Since you can't print with
crystal report 9 directly in web forms I need to use this.
Thanks,
David