Search found 66 matches: nfootertype

Return to advanced search

Filter y MakeTotals en xBrowse (to Mr. Nagues)

... 3]:bOnPostEdit :={|oCol,xVal,nKey| If(nKey==VK_RETURN,(COMPONENTES[oBrw:nArrayAt][ 3]:=xVal,oBrw:Refresh(),oBrw:MakeTotals()),)} oBrw:aCols[ 3]:nFooterType :=AGGR_SUM oBrw:aCols[ 3]:nFootStrAlign :=AL_RIGHT oBrw:Maketotals() Muchas gracias! Roberto
by TOTOVIOTTI
Mon Aug 28, 2023 1:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Filter y MakeTotals en xBrowse (to Mr. Nagues)
Replies: 0
Views: 190

Re: Summation by condition

Here some samples oBrw:Age:bSumCondition := { |v,o| o:Value % 2 == 1 }, ; oBrw:State:nFooterType := AGGR_COUNT, ; oBrw:State:bSumCondition := { |v,o| "A" $ o:Value }, ; oBrw:Salary:nFooterType := AGGR_SUM, ; oBrw:Salary:bSumCondition := { || .NOT. FIELD->MARRIED ...
by Marc Venken
Fri Jun 02, 2023 11:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Summation by condition
Replies: 2
Views: 184

Re: xBrowse footer picture

Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case of empty arrays we need to inform the datatype of the column by setting ...
by Detlef
Mon Apr 03, 2023 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 731

Re: xBrowse footer picture

Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case of empty arrays we need to inform the datatype of the column by setting ...
by Marc Venken
Mon Apr 03, 2023 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 731

Re: xBrowse footer picture

:aCols[ 3 ]:nFooterType := :aCols[ 5 ]:nFooterType := AGGR_SUM Is this also hapening when you just use 1 of them ? :aCols[ 5 ]:nFooterType := AGGR_SUM and if you made 2 different with object oBrwpos and obrw.... Thanks Mac, for ...
by Detlef
Mon Apr 03, 2023 1:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 731

Re: xBrowse footer picture

:aCols[ 3 ]:nFooterType := :aCols[ 5 ]:nFooterType := AGGR_SUM

Is this also hapening when you just use 1 of them ?

:aCols[ 5 ]:nFooterType := AGGR_SUM

and if you made 2 different with object oBrwpos and obrw....
by Marc Venken
Mon Apr 03, 2023 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 731

Re: Reitero consulta para actualizar un campo con XBrowse

... } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:aCols[ 8 ]:nFooterType:= AGGR_TOTAL oBrw:MakeTotals() oBrw:CreateFromCode() cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 ) ACTIVATE DIALOG oDlg CENTERED on INIT ...
by José Camilo
Sun Feb 12, 2023 4:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 504

Reitero consulta para actualizar un campo con XBrowse

... } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:aCols[ 8 ]:nFooterType:= AGGR_TOTAL oBrw:MakeTotals() *---------------- //-------------------------------------------------------------------------------------------------------------------------------------------------------------// ...
by José Camilo
Sat Feb 11, 2023 3:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 504

Cómo tomar el valor de AGGR_TOTAL de xBrw[SOLUCIONADO]

Hola a todos Tengo un xBrowse que totaliza una par de columnas con las funciones: obrw:aCols[4]:nFooterType := AGGR_TOTAL Lo que me gustaría es tomar el valor de AGGR_TOTAL como variable para luego hacer una suma con otra variable ajena al Xbrowse. Por ejemplo: nGeneral:= ...
by Ramón J.
Thu Dec 24, 2020 2:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo tomar el valor de AGGR_TOTAL de xBrw[SOLUCIONADO]
Replies: 2
Views: 360

Re: Como me refiero al total de una columna

... :lDisplayZeros := (.F.) 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" :nTotal ...
by Armando
Fri Nov 13, 2020 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 932

Re: Como me refiero al total de una columna

... en tu code, 1) cuando definis el xbrowse tenes que ponerle FOOTERS o activar oBrw:lFooter:= .t. 2) cuando definis la columna WITH OBJECT :Importe :nFooterType := AGGR_SUM :bSumCondition := { || AScan( oBry:aSelected, oBry:BookMark ) > 0 } :cFooterPicture := "@Z 9,999,999,999.99" // ...
by Ariel
Fri Nov 13, 2020 9:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como me refiero al total de una columna (SOLUCIONADO)
Replies: 8
Views: 932

Re: Se puede usar el nombre de una columna?

Francisco: Primero, gracias por el apoyo Fijate que me tira error // WITH OBJECT :aCols[08] WITH OBJECT oBrw:HDR_GAS :nFooterType := AGGR_SUM :bSumCondition := { || ! oRsHdr:Fields("HDR_CAN"):Value } :cFooterPicture := "@Z 9,999,999,999.99" END Saludos Lo hago ...
by FranciscoA
Thu Nov 12, 2020 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se puede usar el nombre de una columna? (SOLUCIONADO)
Replies: 7
Views: 571

Re: Se puede usar el nombre de una columna?

Francisco: Primero, gracias por el apoyo Fijate que me tira error // WITH OBJECT :aCols[08] WITH OBJECT oBrw:HDR_GAS :nFooterType := AGGR_SUM :bSumCondition := { || ! oRsHdr:Fields("HDR_CAN"):Value } :cFooterPicture := "@Z 9,999,999,999.99" END Saludos
by Armando
Thu Nov 12, 2020 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se puede usar el nombre de una columna? (SOLUCIONADO)
Replies: 7
Views: 571

Re: error on xbrowse footer

I allready tested with WITH OBJECT oBrowse:aCols[ 11] :nFooterType := AGGR_SUM :cEditPicture := "€ 999,999.99" :nDataStrAlign := AL_RIGHT END the xbrowse is @ 120, 02 XBROWSE oBrowse OF oDlg ; COLUMNS 1,2,3,4,5,6,7,8,9,10,11; HEADERS "Ico","Tipo","Servizio","Q.tà","Costo","Tot ...
by Silvio.Falconi
Thu Apr 23, 2020 12:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on xbrowse footer - RESOLVED! -
Replies: 33
Views: 3636

error on xbrowse footer - RESOLVED! -

https://i.postimg.cc/MZ7xccN9/errore-footer.jpg on xbrowse I set WITH OBJECT oBrowse:aCols[ 11] :nFooterType := AGGR_SUM :cEditPicture := '@ €99,999.99' END also I use :nDataStrAlign := AL_RIGHT I not see the symbol of euro while on another procedure ( same source ...
by Silvio.Falconi
Wed Apr 22, 2020 11:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on xbrowse footer - RESOLVED! -
Replies: 33
Views: 3636
Next

Return to advanced search