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

Setting visible to "No" causes performance issues

Status
Not open for further replies.

jen89

Programmer
Aug 16, 2001
105
US
I am working on a report that does some extensive grouping and sums.
I use one level of grouping (customer number), then I do some sums and counts within the detail section. (I count invoices, and sum up the total revenue for each invoice.) I would like to see only the totals for each item, and they are displayed in the group footer

Code:
abc corp       $80,000
def inc.       $39,000
ghi corp       $99,100

The report works nicely, except that if I set the detail visible property to "no", the performance slows down considerably. (15-20 seconds for each page viewed.) If I instead leave it set to "yes" but shrink the detail section down to nothing, the performance issue is cleared up, but the footers only count the first record for each group. I would appreciate any insight on this problem. Thanks in advance,

Jen
 
Hi,
Is the report based strictly on a table, or a query? The report should be based on a query, and the query should pre-sort the records into the order needed for the report. See if that makes a difference. HTH, [pc2]
Randy Smith
California Teachers Association
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top