Solved

Create Multiple pages in one report

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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