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

Counting different objects in the same field

Status
Not open for further replies.

chubby

Programmer
Apr 28, 2001
278
US
Using the =Count([last name]) I know it will count all the last names in that field in a report, can I count just the total number of smiths? If so how???
 
Set a grouping level based on the last name. You can then use the header or footer along with the count function to give you your totals by name.
 
Jerry,

Can you give an example of the "grouping" statement?
 
It isn't a statement. It is a property of the report. There is an icon on the toolbar for grouping/sorting. Press this button and you'll get the grouping/sorting dialog box. You can set your group level here along with whether or not you want and header or footer for it. "Advice is a dangerous gift, even from the wise to the wise, for all course may run ill." J.R.R. Tolkien
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top