Aggregate values for columns

Josep jmyepes at mac.com
Mon Jun 22 21:53:08 EDT 2009


Hi,

I have a trouble with the aggregate values for columns. I'm trying the
sample:

getprop uSumTotal [pColumn]
   local theTotal=0
   
   put the dgData of me into theDataA
   repeat for each key theIndex in theDataA
      add theDataA [theIndex][pColumn] to theTotal
   end repeat
   
   return theTotal
end uSumTotal

Into the default column behavior, and I call it from the FillData or
SelectionChange to update the values, but only get empty.

What I'm doing wrong?

Salut,
Josep
-- 
View this message in context: http://www.nabble.com/Aggregate-values-for-columns-tp24158600p24158600.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list