Report showing BOTH Aggregate Sum of Display records and Total Sum by Group 
Author Message
 Report showing BOTH Aggregate Sum of Display records and Total Sum by Group

Based on another posting I have just read...it appears I want to sum all
the "master records" (host table in the left join from the SQL statement in
the group footer, but only display the "child records" in the Detail
section.

Hope this helps you help me!!!!



Quote:
> This is one that has me stumped.............

> I have a database detailing cost reductions by buyer.  These are stored
in
> tblCostReductions.  Another table, tblSuppliers, shows all the suppliers
by
> buyer with their respective annualized purchase dollars.

> A rough idea of the structure of the tables is as follows:

> tblCostReductions          tblSuppliers            tblBuyer
> ---------------------------                ------------------              -------------          
> Buyer#                             SupplierNbr             Buyer#
> SupplierNbr                        Buyer                   BuyerName      
> Amount of Reduction($$)            AnnualizedPurchases     Director        
> Division Affected                  SupplierName                            

> What I have as a report is:
> --------------------------------------
>                    Purchases       Div1            Div2            Div3            Total
> Supplier#ABC               $500K           $11K            $0              $50K            $ 61K
> Supplier#DEF               $900K               $56K                $44K            $0              $ 99K

----------------------------------------------------------------------------

Quote:

> -----------------------------------------------------------------
>         Buyer123 SubTot   $1400K            $67K                $44K    

        $50K                $160K
Quote:
>                                                                                    11.4%

> What I would like to see is:
> ---------------------------------------
>                    Purchases       Div1            Div2            Div3            Total
> Supplier#ABC               $500K           $11K            $0              $50K            $ 61K
> Supplier#DEF               $900K               $56K                $44K            $0              $ 99K

----------------------------------------------------------------------------

Quote:

> -----------------------------------------------------------------
>         Buyer123 SubTot   $1400K            $67K                $44K    

          $50K                $160K
Quote:
>                                                                                    11.4%
>         Buyer123 Total      $6000K                                      

                                            2.6%

- Show quoted text -

Quote:

> I have tried the MoveNext property along with making records without any
> cost reductions not visible, but no luck.

> Any suggestions.......Code or macros welcome.  Version 2.0.

> Thanks in advance,
> ken jones




Mon, 10 Apr 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. sum total in report

2. HOW DO I GROUP AND SUM CERTAIN RECORDS IN A SUBFORM

3. Crystal reports group, sum

4. Displaying Records - Sorts, Sums, Etc

5. SUM Aggregate Function

6. Sum in aggregate function

7. AM I missing something - Sum and Cumulative Sum

8. How to sum a single fiscal period for monthly expenses and also sum ytd expenses

9. Summing years totals

10. Bulding sums on running totals

11. summing a running total

12. Grand Total (SUM) in text or time field?

 

 
Powered by phpBB® Forum Software