Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: RE: Rounding an AVG for totals - HOW TO?
Thread ID: 188962 Message ID: 188993 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, August 12, 2008 9:59:50 PM         
   


> >
> > This one worked!
> >
> > Thank you, colleague!
> >
> > Regards,
> >
> > Ilya
>
> Good to hear it. However if you have nested groups, then you need to add a separate variable (scenario above) to each. Thus in many cases it looks better to calculate averages and store them in the final cursor prior to running the report.
>
> Just a thought.
>
> Good Luck

Yes, I did that latter too with some other reports in the (recent) past. I am still learning the "ins and outs" with the VFP's reports, and I wanted to push the envelop with them reports as far as VFP can take it, so to speak. Besides, if it's already there in the VFP itself - why not use it? Turned out, as usual ^o) , want-job-done-do-it-yourself approach is better whenever there's some out-of-the-ordinary, other than strightforward thingy's in your report... :-(

Regards,

Ilya

ENTIRE THREAD

Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 7:54:27 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Anders Altberg @ 8/12/2008 7:58:15 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 8:42:07 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Anders Altberg @ 8/12/2008 9:29:56 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 9:52:22 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Yuri Rubinov @ 8/12/2008 8:18:41 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 9:04:29 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Yuri Rubinov @ 8/12/2008 9:27:40 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 9:59:50 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Yousfi Benameur @ 8/12/2008 9:56:35 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/12/2008 10:05:39 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Yousfi Benameur @ 8/12/2008 11:19:38 PM
RE: Rounding an AVG for totals - HOW TO? Posted by Ilya Rabyy @ 8/13/2008 5:02:30 PM