mGrandTotal += mBO.grandtotal;
Lean and mean!
This is not really about your question, but rather the way you are moving through your BO rows. Have a look at this post from Trent:
http://forum.strataframe.net/FindPost16281.aspx
public
A little cleaner...less filling...even greener...
Naw...just the Friday-I-Want-To-Get-Out-Of-The-Office-Mentality! I . . . must . . . stay . . . focused . . .
Ok...here is the answer that I came up with to the trick question--I put this in the InvoiceMasterBO:
Whaddya think?Bill
Here is an example...I have a BO called InvoiceMasterBO. The BO has a custom property called 'grandtotal' which summarizes the finance info on each invoice. I need to send a batch of these invoices to the accounting system. For a double check and a requirement of the accounting system, I need to export the SUM(grandtotal), too. How do I do that?
This is probably so obvious that I will kick myself as soon as I find out how to do it.
Thanks,Bill