|
-
Mar 28th, 2006, 08:49 AM
#1
Thread Starter
Frenzied Member
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 !!
-
Mar 28th, 2006, 08:53 AM
#2
Re: How do I print Sub-Reports with Main Report ?
You have to print them all off separately. 
What if you did a .PrintOut on the SubReport after your main printout call?[/color]
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 28th, 2006, 08:57 AM
#3
Thread Starter
Frenzied Member
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
-
Mar 28th, 2006, 08:58 AM
#4
Re: How do I print Sub-Reports with Main Report ?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 28th, 2006, 09:03 AM
#5
Thread Starter
Frenzied Member
Re: How do I print Sub-Reports with Main Report ?
Yes it is.
Is that bad ?
(Its pretty bl**dy bad at the moment !)
-
Mar 28th, 2006, 09:33 AM
#6
Thread Starter
Frenzied Member
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 ??!
-
Mar 28th, 2006, 09:53 AM
#7
Re: How do I print Sub-Reports with Main Report ?
I'm back. What version of CR?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 28th, 2006, 10:00 AM
#8
Thread Starter
Frenzied Member
Re: How do I print Sub-Reports with Main Report ?
-
Mar 28th, 2006, 10:00 AM
#9
Thread Starter
Frenzied Member
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 !
-
Mar 28th, 2006, 12:16 PM
#10
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 29th, 2006, 02:29 AM
#11
Thread Starter
Frenzied Member
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 !
-
Mar 29th, 2006, 03:18 AM
#12
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.
-
Mar 29th, 2006, 03:44 AM
#13
Thread Starter
Frenzied Member
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 ?
-
Mar 29th, 2006, 08:07 AM
#14
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 29th, 2006, 08:10 AM
#15
Thread Starter
Frenzied Member
Re: How do I print Sub-Reports with Main Report ?
-
Mar 29th, 2006, 08:12 AM
#16
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 29th, 2006, 08:14 AM
#17
Thread Starter
Frenzied Member
Re: How do I print Sub-Reports with Main Report ?
I think I am going to have to !
-
Apr 4th, 2006, 11:51 AM
#18
Member
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.
A Will Will Find A Way 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|