On 2/1/2012 1:20 PM, Frank Cazabon wrote:
> yes, it does make development easier, but I still do find instances
> where I would use SQL in the UI for display purposes, but maybe I should
> be trying to avoid that more.
>

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)



-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
Post Messages to: ProFox@leafe.com
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/4f298e91.7020...@mbsoftwaresolutions.com
** 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