Add “Total” per row and column in Crystal Reports without CrossTab

后端 未结 1 1163
遥遥无期
遥遥无期 2021-01-15 04:29

I have a simple question.

Suppose I have a Stored Proceudre that returns a table with the following columns: (Item, GreenColour, RedColour), corresponding to all the

1条回答
  •  时光说笑
    2021-01-15 05:02

    You're right, crosstabs are overkill for this. Just create a formula to sum the colors:

    {table.GreenCount} + {table.RedCount}

    To get the report totals (the 9 in your example), just insert a summation summary. (Right-click the formula field you just created -> "Insert" -> "Summary" -> "Calculate this summary" as Sum).

    0 讨论(0)
提交回复
热议问题