How do I print Sub-Reports with Main Report ?
I've got a report which shows Branch Information.
On each "Branch Page" there are 4 links. Each link when clicked shows a sub-report for that Branch.
How do I get the Sub-Reports to automatically print with the main report ?
Please don't tell me I have to print them all off separately !!
Re: How do I print Sub-Reports with Main Report ?
You have to print them all off separately. :lol:
What if you did a .PrintOut on the SubReport after your main printout call?[/color]
Re: How do I print Sub-Reports with Main Report ?
I'm not writing any script for this report ... just designing like your average Noddy :)
Re: How do I print Sub-Reports with Main Report ?
Re: How do I print Sub-Reports with Main Report ?
Yes it is.
Is that bad ?
(Its pretty bl**dy bad at the moment !)
Re: How do I print Sub-Reports with Main Report ?
uh-oh ... quiet is bad !
I can't believe theres not a "Print Sub-Report detail with main Detail" option anywhere !
Surely this isn't a mad request is it ??!
Re: How do I print Sub-Reports with Main Report ?
I'm back. What version of CR?
Re: How do I print Sub-Reports with Main Report ?
Re: How do I print Sub-Reports with Main Report ?
I'm scouring the tinternet and can't find ANYTHING ?!?!!
That doesn't bode well !
Re: How do I print Sub-Reports with Main Report ?
I searched the help file (8.5) and found a basic page but I think they are talking about a subreport that is embedded and displayed on the main report page.
I searched for "Print Subreport". Did you try businessobjects.com?
Re: How do I print Sub-Reports with Main Report ?
Yeah I had a snout around businessobjects.com, but could only find articles on passing variables backwards and forwards. I've sussed that bit out a few days ago.
I'm starting to hate Crystal Reports before I even get to grips with it !
Re: How do I print Sub-Reports with Main Report ?
Well, it would seem that an On-Demand subreport is just that. Nothing happens unless the user and/or program specifically calls it. But you are right, the option to "Print On-Demand Sub-Reports with main report" would be a nice feature.
Re: How do I print Sub-Reports with Main Report ?
I guess my next step would be to add some code to force the sub-reports to open if the top report is printed, but I'm not familiar at all with adding code.
Like I said ... I'm a complete newb at CR, so I wouldn't even know where to begin !
Is this something I could actually put in code somewhere do you know ?
Re: How do I print Sub-Reports with Main Report ?
Well Im not a pro with CR but I dont think it has a section for code. You may need to use VB to automate this.
Re: How do I print Sub-Reports with Main Report ?
Re: How do I print Sub-Reports with Main Report ?
I know how you feel. I dont particularly care for CR. Its powerful but really really cumbersom to work with.Is there no way you can redesign the report to present the subreport by default instead of upon the link click?
Re: How do I print Sub-Reports with Main Report ?
I think I am going to have to !
Re: How do I print Sub-Reports with Main Report ?
RobDog,
I have my report displaying the sub-report by default. But when I click on Print, the print screen just flashes by and nothing prints - does not even go in to Print Queue. Those reports where I have only the main report, print fine but this instance, where I have a sub-report, it does not even print the main report.
I have written a function to handle reports/subreports in CR from VB6. It still uses the default print button on CR Viewer to print the reports.