See the help on the Sum() function. Put something like the following into the group header formula to set the category column:
local numbervar po_total := Sum({table.invoice_amount}, {table.po_number});
if po_total < 5000 then "xxx" else "yyy"
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Summing GroupsThreaded View
|
Click Here to Expand Forum to Full Width |