Solved

Create Multiple pages in one report

Posted on 2007-04-03
1
3,590 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

896 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now