Hi,
I am still using CR8.5 and VB 6. I am passing a date from VB to CR using the entry:
TaskReport.parameterfields.getItemByName ("SelectDate")
.AddCurrentItem dTaskDate
Taskreport is my report object and SelectDate is the parameter within the report while dTaskDate is the date I am passing. This all works perfectly for the MainReport.
My Taskreport has 3 subreports that also require the selectDate to be passed to them. Is it possible to pass the dTaskDate variable to the subreports within TaskReport, if so what VB code do I use.
many thanks
I am still using CR8.5 and VB 6. I am passing a date from VB to CR using the entry:
TaskReport.parameterfields.getItemByName ("SelectDate")
.AddCurrentItem dTaskDate
Taskreport is my report object and SelectDate is the parameter within the report while dTaskDate is the date I am passing. This all works perfectly for the MainReport.
My Taskreport has 3 subreports that also require the selectDate to be passed to them. Is it possible to pass the dTaskDate variable to the subreports within TaskReport, if so what VB code do I use.
many thanks