I have a separate table for sales and payments. For one sale I can have n payments and I display the payments in a tabpanel using the sales_id as a key.
In addition to the different payments of a certain sale, I would like to display the sum of the amounts for that sale. Is that possible? The Trailing Subsummary didn’t work, but maybe I was just doing something wrong…
Actually in the same context I was wondering about the best way to flag all the sales with open amounts (not fully paid yet). Should that be done with a calculation or is a loop better?
Thanks a lot,
Reto