I am using crstal rdc (crystal Report designer control - ie .dsr file & not .rpt file ) for reporting. Can you pls tell me how to pass the parameter from a VB form to this report designer.
I dont want to use the inbuilt feature of RDC for parameter fields.I mean I want to avoid the screen which comes after adding a parameter field to the report.
I want to pass the parameter through code.
Basically I sort the data monthwise as follows.
select * from payroll where payroll.month = ? and payroll.year= ?
I take the input from a form which has two combo boxes. ie
a) cmbMonth
b) cmbYear
I want to pass the text as month & year to the query above.
I can add a parameter field in Crystal RDC but I am forced to use the inbuilt feature of CRYSTAL to select the parameter. I dont want to use the inbuilit feature . How to disable the inbuilt feature & pass the parameter though code ?
Pls help, I am desperately looking for some solution.
Regards,
Dennis.
I dont want to use the inbuilt feature of RDC for parameter fields.I mean I want to avoid the screen which comes after adding a parameter field to the report.
I want to pass the parameter through code.
Basically I sort the data monthwise as follows.
select * from payroll where payroll.month = ? and payroll.year= ?
I take the input from a form which has two combo boxes. ie
a) cmbMonth
b) cmbYear
I want to pass the text as month & year to the query above.
I can add a parameter field in Crystal RDC but I am forced to use the inbuilt feature of CRYSTAL to select the parameter. I dont want to use the inbuilit feature . How to disable the inbuilt feature & pass the parameter though code ?
Pls help, I am desperately looking for some solution.
Regards,
Dennis.