I have an old legacy VB 6 application that uses Crystal Reports 9.
One Report I have is acting quite strange passing parameters to the main report and then via Sub Report Links to a subreport.
I was wondering, is there a way in the VB code to pass a parameter directly to the subreport?
I currently use the following format to pass paramteters to the main report: MainReportExternal.ParameterFields.GetItemByName("@FILTERTYPE").AddCurrentValue strFilterType
Could there be a nice way of using something along the lines of "MainReportExternal.subreports(0).parameterfields..." to pass directly to the subreport via the main report?
One Report I have is acting quite strange passing parameters to the main report and then via Sub Report Links to a subreport.
I was wondering, is there a way in the VB code to pass a parameter directly to the subreport?
I currently use the following format to pass paramteters to the main report: MainReportExternal.ParameterFields.GetItemByName("@FILTERTYPE").AddCurrentValue strFilterType
Could there be a nice way of using something along the lines of "MainReportExternal.subreports(0).parameterfields..." to pass directly to the subreport via the main report?