On 02/01/12 11:12, MB Software Solutions, LLC wrote:
> No, I think the example you gave with updating the invoice total as
> items are added in the UI is fine there.  In my form, I'd have a simple
> routine that calculated the total/sum and updated the textbox that
> reflected that total:
>
> thisform.CalcTotal()
>
> in thisform.CalcTotal method:
>     select sum(paidamt) from (this.grdPayments.RecordSource) into array laSum
>     this.txtTotalPaid.value = nvl(laSum(1),0)

And that's where I'm the purist, Mike.  I might well have a .CalcTotal() 
method in the form, but it will call a BizObj method to do the SQL.

Dan

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to