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!

Only 25 Records 1

Status
Not open for further replies.

schief13

Technical User
Jan 21, 2004
26
US
CR11 SQL Database

This seems simple enough but... I have a simple report that lists open invoices. I want to limit the report to the highest 25 invoices. Looks like I could use the TopN or Topcount function but I am confused over the correct use.

Thanks
 
If you have a field, e.g., {table.invamt}, that you are summing to arrive at the invoice total, place that field in the detail section, insert a sum on it at the invoice level, and then go to report->group sort->topN: 25, and select "sum of {table.invamt}".

There must be an INSERTED summary to activate the group sort.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top