473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Crystal Report 9.0 Page numbering

RJN
Hi

I have a report which is grouped on a column. I need to start each group
on a new page and I have to reset page number on start of a new group.
Finally I have to capture the number of groups created and the no. of
pages per group on the front page followed by group details on the next
page.

Suppose 3 groups get created , Gr1 has 3 pages, Gr2 has 4 pages , Gr3
has 1 page

Front Page will have

Gr1 : 3
Gr2 : 4
Gr3 : 1

This page will be followed by the details of each group.

I use a formula field which has a shared array to capture the total page
no. created per group on change of each group. I set this at the Group
footer

something like this:

shared numberVar array PageCount;
shared numberVar PTCount;
PageCount[PTCount]:=TotalPageCount;
PTCount:=PTCount + 1;

Then I use another formula field on the front page which returns the
page no for a given group.

WhilePrintingRecords;
shared numberVar array PageCount;
PageCount[RecordNumber];

But the problem here is , when front page is being printed array
wouldn't have been populated and hence prints as 0. How do I make the
formula field in the front page evaluate in the end after all the groups
are created and their total page nos. are captured in the array. Some
thing like EvaluateAfter.

Your help is highly appreciated.

Regards

RJN

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
0 1396

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paradigm | last post by:
I have a contract document that is about 20 pages long with various data base fields in it. I cannot create an Access report that long so I have had to do it as 5 seperate reports. There are some...
2
by: Elasho | last post by:
I have a report that groups data on an Area, the report is set to force a new page for each Area within the report. Each Area will have 1 or more pages. Is it possible to make the page...
0
by: raj | last post by:
Hello , I have a problem, rich text bullets are not displayed in Crystal report. Environment : VS .NET 2003 CrystalDecisions.CrystalReports.Engine Version 9.1.5000.0 ( it came with ..NET...
1
by: Karthic | last post by:
When i right click on the .rpt file in the VS 2003, i see a property printer setting. It says "No printer" on the top and there is option to select printer and paper settings etc.. I want to...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
0
by: RJN | last post by:
Hi, I'm new to crystal report and require a help urgently. My requirement is something like this. I have a main report from where I call 2 subreports, say summary and details. The main...
1
by: RJN | last post by:
Hi, I'm new to crystal report and require a help urgently. My requirement is something like this. I have a main report from where I call 2 subreports, say summary and details. The main...
1
by: Simon | last post by:
Dear reader, Most of the reports have a page numbering as Page x of nn, starting at the first page 1 (one) to the last page nn. But know I need to start with Page 1 of nn for each...
0
by: Linda W. | last post by:
Hi, I would appreciate any insight into the following issue.. I have an asp.net application with crystal reports being displayed.. All works fine from my IDE & I am trying to move the app to a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.