I have a crystal report calle rptMyReport.rpt , with rptHeader as sub report and typed dataset. Create in subreport a Parameter Fields called "DeliveryV1" IFieldObject. The Name in the property box say "DeliveryV1" but under the dropdown
it says Delivery_V. Tried both but didn't work. Thanks
dim myCr as rptMyReport (name of my crystal reports, includes rptHeader)
dim rptDoc as ReportDocument
dim ds as new DataSet
connect to sql stored proc.. here returns DataSet
ds = .... call to function
............
rptDoc = myCr.OpenSubReport("rptHeader")
rptDoc.SetParameterValue("DeliveryV1", "123456")
rptDoc.database.tables(0).setdatasource(another function returns ds)
myCr.setdatasource(ds.tables("xx"))