total select lines

dlh rdoxies at cox.net
Fri Dec 27 15:45:22 EST 2013


Total sum value of the specified column in the list. Boolean parameter allows you to specified selected lines only. Default is 'kFalse'.
   
      ;  Total of the values in a column of the list.
      Calculate Total as List.$cols.ColName.$total()
      
      ;  You can add the parameter kTrue to include selected lines only.
      
      ;  Total value of the values in a column of the list, selected lines only.
      Calculate Total as List.$cols.ColName.$total(kTrue)     ;; (Selected lines)

Use '$totc' to find the total number of selected lines in list.
   
      ;  Number of selected lines in a list.
      Calculate %N as List.$totc(#LSEL)
On Dec 27, 2013, at 10:24 AM, Bill Steer <bill.steer at pioneercep.com> wrote:

> HI all,  happy holidays..
> 
> Can someone give me a hint on how to total selected lines,  something like tot(qty*$selected)  ?
> 
> thanks !
> 
> 
> Bill Steer
> Pioneer CEP
> 
> 
> 
> 
> 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list