Solved

Create Multiple pages in one report

Posted on 2007-04-03
1
3,593 Views
Last Modified: 2009-04-15
Hi Experts,

I am currently creating a purchase order system for a friend of mine. I have decided to use crystal reports to print the purchase order but have limited knowledge of crystal reports. I am using vb.net 2005 that has crystal reports incorporated into it. I have populated a dataset lets say with the following Columns: -

Company Name, Description, PO_Number, Line, Price

And the following data: -

Covers, Bracket, 1923, 1, £9.99
Covers, Bracket 2, 1923, 2, £10.99
Covers, Bracket 3, 1923, 3, £19.99

Homebase, Paint, 1924, 1, £9.99
Homebase, Brush, 1924, 2, £2.99

What I want to do is create a report that will create 2 purchase orders 1 for the company called Covers and one for the company called Homebase. Once these have been created I want to be able to preview the reports using the crystal report viewer and have the 2 pages to view instead of having to show each individual purchase order in the crystal report browser. Just one report instead of having to run the report twice. I know how to show the whole report in a crystal report browser and have specified the dataset and columns to show on the report just not how to create the individual pages instead of having one page that will show both companies. I hope this has made sense.

Many Thanks
Lee
0
Comment
Question by:ljhodgett
1 Comment
 
LVL 20

Accepted Solution

by:
ElrondCT earned 500 total points
ID: 18843182
Create a group name using the company name. The company information appears in the group header (& footer, if desired). The individual items are the detail lines. Right-click on the Group Header section title, choose Format Section, and check New Page Before. Now each company will appear on its own page.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question