datagrid Column grand total

Josep jmyepes at mac.com
Tue May 5 03:36:30 EDT 2009


Bonjour Andre,

Yes, I can with this way or I can record any change in "on FillIn" and
update a t_GrandTotal... go to try it... I think that with this way the
operation will be automatic...

Salut,
Josep


Andre.Bisseret wrote:
> 
> 
> Le 5 mai 09 à 01:55, Josep a écrit :
> 
>>
>> Hi,
>>
>> It's posible calculate the total for a column using the column  
>> templates?
>> Any tip of how do it? I need to calculate a grand total for all the  
>> items
>> inside the datagrid...
>> Where is better perform the operation?
>>
>> I'm blocked with it...
>>
>>
>> Thanks in advance,
>> Josep M
>>
> Bonjour Josep,
> Don't know if it is the better way with dataGrid but you might use a  
> variable (say tVar)
> 
> put the dgText of group "DataGrid X" into tVar
> 
> so in tVar you have a liste of lines of tab separated items and you  
> may do all what you want on them
> 
> (for example :
> 
> set the itemDel to tab
> repeat for each line li in tVar
> add item 1 of li to totalCol1
> end repeat
> 
> HTH
> 
> Best regards from Grenoble
> André
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
View this message in context: http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23382509.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list