Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying Number of Records

Status
Not open for further replies.

sim133

Technical User
Sep 14, 2004
85
US
HI all,
Is there way to display the total number of records on each page footer using Crystal Report. I know it is possible to display it on the report footer, but the customer wants see the total number of records on each page footer. I am using Crystal XI.
Thank You..
 
Hi,
The special field Page N of M does that..



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
If you literally mean you want the report total number of records displayed on every page, create a formula:

count({table.field})

Make sure that that {table.field} is a recurring field (is never null). Place the formula in the page footer.

-LB
 
LB's formula will not reset on each page however. If this is desired, then use the3 formula approach with variables.

In the page header:
WhilePrintingRecords;
Numbervar records:=0

In the details section:
WhilePrintingRecords;
Numbervar records:=records+1

In the page footer:
WhilePrintingRecords;
numbervar records;

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
Hi,
Sorry for my mis-reading of the posting ( It is Friday afternoon and I sometimes get sloppy..I thought the # of pages was needed, not the recoprd count..)

( Its also April 6 and a freakin' 20 degrees F out there.. with a 3 degree wind chill( Minnesota))



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top