Problem solved, I simply used multiple render providers in the summary
row to display the data. Though if a better way exists I wouldn't mind
hearing it.

--- In [email protected], "bredwards358" <[EMAIL PROTECTED]>
wrote:
>
> While building report generation for our application, I noticed that
> while trying to properly display summary information, I can only seem
> to get one of the desired summary fields to display, here's the code
> I'm using:
> 
> //Sets the grouping and summary stuff
> rptGrpSr = new SummaryRow();
>                       
> var qtySum:SummaryField = new SummaryField();
> qtySum.dataField = "Qty";
> qtySum.operation = "SUM";
> qtySum.label = "summary";
>                       
> var costSum:SummaryField = new SummaryField();
> costSum.dataField = "ListCost";
> costSum.operation = "SUM";
> costSum.label = "summary";
>                       
> var extSum:SummaryField = new SummaryField();
> extSum.dataField = "Ext";
> extSum.operation = "SUM";
> extSum.label = "summary";
>                       
> rptGrpSr.fields = [qtySum, costSum, extSum];
> rptGrpSr.summaryPlacement = "last";
> rptGrpCol = new GroupingCollection();
> rptGrpCol.source = model.repairOrderData;
> rptGrping = new Grouping();
> rptGF = new GroupingField("TechID");
> rptGF.summaries = [rptGrpSr];
> rptGrping.fields=[rptGF];
> rptGrpCol.grouping = rptGrping;
> 
> Now it may just have something to do with the how I'm assigning the
> summary fields to the row. However if what I want to do is not
> possible with how I have things set up then how could I get this to
> work? Thanks in advance as always.
> 
> Brian Ross Edwards
> Tech-Connect LLC
>


Reply via email to