Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 12th, 2004, 12:50 PM
Registered User
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Concatenate different files into one single report

People -
I have a very imp question for you. I will explain an example below
which relates to my project. Please let me know if this can be done or
not?

Requirements: We need to show the content of two individual reports
(authors.rpt and employees.rpt) into another report (main.rpt).

Explanation: This mean the user will only open the main.rpt file and
this report acts as a place holder for the other two reports. The
main.rpt file has make a call to authors.rpt file first, populate all
the data and make a call to employee.rpt file and populate all the
data. When everything is done, main.rpt will have all the authors info
first and then employees second. The data comes from the two stored
procedures sp_authors and sp_employees.

I know that this can all be glued into one single file using sub
reports link of architechture. But the client is looking for seperate
files because of the ease of editing in future.

Is there a way to do this?? Your help will be greatly appreciated.

Thanks,

 
Old October 12th, 2004, 03:37 PM
Authorized User
 
Join Date: Oct 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Although I am new to .NET, I am experienced in Crystal and this would be fairly easy using sub reports in Crystal.

From what I've studied, it looks like if you were to add 2 Crystal Report Viewers into one page, bind one to your authors report and the other to your employees report, you should be able to pull this off. The trickiest part would be getting the reports to reflect linked information, which may not be as difficult when using the crystal reports engine.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple FOP files to single PDF using XSL bhavanimachani XML 7 March 28th, 2008 05:59 AM
code to read two text files, concatenate one...... dgr7 Beginning VB 6 2 April 18th, 2007 03:24 PM
Vb and C# Files in Single Project shriji.1111 General .NET 3 December 16th, 2006 09:44 PM
Save (output to) multiple files from single click moo_desanta Classic ASP Basics 2 June 23rd, 2006 02:00 AM
Concatenate multiple records from table to single Ron Howerton SQL Language 6 August 23rd, 2004 08:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.