Passing Parameter Value to Crystal Report Viewer
-
Hi Everyone, i use crystal report & in from "Field Explorer" i select the table that i want to appear in report & make a "Where" Clause & i determine some parameters. The problem is How to pass this parameters value to a crystal Report viewer???????:sigh: Thanks in Advance
-
Hi Everyone, i use crystal report & in from "Field Explorer" i select the table that i want to appear in report & make a "Where" Clause & i determine some parameters. The problem is How to pass this parameters value to a crystal Report viewer???????:sigh: Thanks in Advance
Hi, For that you've to add up a parameter field in the report. Then in the code from where you want to pass the value for that parameter, use oRpt.SetParameterValue("Parameter Name", ParameterValue) 'where oRpt is your report object I hope this helps. with best regards, Zee_Zee
-
Hi, For that you've to add up a parameter field in the report. Then in the code from where you want to pass the value for that parameter, use oRpt.SetParameterValue("Parameter Name", ParameterValue) 'where oRpt is your report object I hope this helps. with best regards, Zee_Zee
-
Thx Zee_Zee for ur reply but what is the report object, is it the report file .rpt ot its the report viewer or it is cached crytal document??:sigh: Thx & Regards