Solved

Create Multiple pages in one report

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

744 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

12 Experts available now in Live!

Get 1:1 Help Now