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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total Count in the Header

Status
Not open for further replies.

clydejones

Programmer
Jan 11, 2001
153
US
I am using crystal V8.0. I need to place the total number of records in the Header. Trying to stay away from a stored procedure. Somebody please tell me this can be done and how to do it. I would appreciate it.

Thanks,
Clyde
 
Place formula:

Count({Field})

in the header.

Naith
 
Dear ClydeJones,

If you want a count of the number of records returned, I believe that all you need to do is count({database.field})

The field should be one that is every record such as the primary key.

Hope this helps and that I understood your question.

ro Rosemary Lieberman
rosemary@microflo.com, Microflo provides expert consulting on MagicTSD and Crystal Reports.
 
Naith and RoseMary,

Thanks so much. I figured there was a way. I tried using a running total function and the Record Number fields, but only got the first record. I wasn't even hip to count({field}). How embarassing! Thanks again!!!

clyde
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top