Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subreports
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Miscellaneous
Thread ID:
00779750
Message ID:
00779759
Views:
15
You can scan through the report objects looking for a "sub-report" object, then set the parmeters in the sub-report just like you do in the main report.

>Hello,
>
>I am trying to duplicate a report "jacket." When finished, the 8 1/2 X 11 report jacket, which is in landscape mode, will be tri-folded.
>
>There are three sections to the report. Each section is very different, so I have created three sub-reports -- one for each section. There is a left sub-report, a middle sub-report and a right sub-report. Each sub-report only contains data in that part of the report
>
>I have a main report and in that main report, I have shrunk every section except the Report Footer so that only the Report Footer will print.
>
>In the Report Footer, I have placed all three sub-reports -- one on top of each other.
>
>All of the reports use the same parameter field which is named: vp_ccase_cid.
>
>In the Select Expert, I have set the table field, ccases_cid to equal the parameter field, vp_ccase_cid. I have done this on all four reports - the main report, the left sub-report, the middle sub-report and the right sub-report.
>
>In design mode, I can go to the Select Expert and actually specify a ccases_cid field for each of the reports and the report prints out beautifully -- exactly like I want it!
>
>In runtime mode, the reports are not picking up the parameter, vp_ccase_cid, and a dialog appears asking for the parameter.
>
>I am not sure why this problem is occurring. I have another report (a single report with no sub-reports) where I call the parameter exactly as I have said above, and it works beautifully at runtime.
>
>Any idea where I have gone wrong on my report "jacket?"
>
>Thanks,
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform