Hi every one ,

I am trying to pass parameter to crystal report 8.0 from VB6.0 form .
But it is giving problem .
I have written following code

CrystalReport1.ParameterFields(Todate) = CDate(DTPicker2.Value)
CrystalReport1.ParameterFields(PaymentType) =CStrCombo1.Text)

it is okay up to this level but when i tryed to give action to crystalreport1 as
CrystalReport1.action = 1
then it is giving problem .

can any boody tell me why i am getting problem .

Thanks in advance .

Suyog