on 10-08-2008 1:15 AM
hi,
I am moving from Crystal Reports 8.5 to XI in VB6.
How do I pass parameters to a report thru Report Viewer?
Old VB code:
crReport.ParameterFields(0) = "FrProp;" & Trim$(.FrProp) & ";TRUE"
crReport.ParameterFields(1) = "ThProp;" & Trim$(.ThProp) & ";TRUE"
crReport.ParameterFields(2) = "RunDate;date(" & Format(Cntl.Run_Date, "yyyy,mm,dd") & ");TRUE"
crReport.ParameterFields(3) = "FrDate;date(" & Format(.FrDate, "yyyy,mm,dd") & ");TRUE"
crReport.ParameterFields(4) = "ThDate;date(" & Format(.ThDate, "yyyy,mm,dd") & ");TRUE"
Bill todd
Hi Bill,
Download sample code from the following link:[https://boc.sdn.sap.com/codesamples]
Hope this helps!!
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.