En el siguiente trozo de c贸digo de un xBrowse con selecci贸n multiple
聽 聽 聽 聽 聽 聽 聽 聽 WITH OBJECT :Arriendo
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 :cOrder聽:= "A"
聽 聽 聽 聽 聽 聽 聽 聽:bFooter 聽 聽 聽:= { || Len( oBry:aSelected ) }
聽 聽 聽 聽 聽 聽 聽 聽 END
聽 聽 聽 聽 聽 聽 WITH OBJECT :Importe
聽 聽 聽 聽 聽 聽 聽 聽:nFooterType 聽 := AGGR_SUM
聽 聽 聽 聽 聽 聽 聽 聽:bSumCondition := { || AScan( oBry:aSelected, oBry:BookMark ) > 0 }
聽 聽 聽 聽 聽 聽 聽 聽:cFooterPicture 聽 := "@Z 9,999,999,999.99"
聽 聽 聽 聽 聽 聽 END
聽 聽 聽 聽 聽 聽 :bOnMultiSelect 聽 := { || oBry:MakeTotals() }
聽 聽 聽 聽 聽 聽 :bChange 聽 聽 聽 聽 聽:= { || IF( LEN( oBry:aSelected ) <= 1,( oBry:oCol(05):nTotal := oBry:oCol(05):Value,;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽聽聽 聽 oBry:oCol(05):RefreshFooter() ),NIL ) }
聽 聽 聽 聽 聽 聽 :MakeTotals()Necesito condicionar la activaci贸n de un bot贸n cuando el usuario haya seleccionado
al menos un rengl贸n del xBrowse, puede ser en la cantidad de renglones seleccionados
o al importe total de la columna sumada, en este ejemplo la columna 05, c贸mo?
Muchas gracias
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero