Search found 53 matches: ltotal

Return to advanced search

Re: TXBrowse Footers TOTALES

... oCol:cEditPicture = "99,999,999,999.99" oCol:nEditType = 0 //no editable oCol:nDataStrAlign := 1 oCol:cHeader = "Interes" oCol:lTotal := .t. //para totalizar cols a report y/o excel oCol:bFooter = {|| TRANSFORM(nTotal,"99,999,999,999.99") } oCol:nFootStrAlign := 1 ...
by FranciscoA
Sat Nov 13, 2010 1:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXBrowse Footers TOTALES
Replies: 2
Views: 673

Problemas para totalizar en el xbrowse

... ARRAY acDetalle UPDATE FOOTERS LINES AUTOCOLS CELL; ON DBLCLICK(additem(@acDetalle,oLbx2)) WITH OBJECT oLbx2:ocol('Salary') :ltotal:=.t. :ntotal:=0 END olbx2:maketotals()
by elmoiquique
Sun Oct 10, 2010 3:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas para totalizar en el xbrowse
Replies: 6
Views: 817

Re: Una de ToExcel() desde xBrowse

oCol:ltotal, oCol:nTotal and oBrw:MakeTotals() work from 9.3 onwards. You can total yourself. In that case, assign the total to oCol:nTotal. oCol:ntotal is displayed in the footer using the oCol:cEditPicture, if any, or using ...
by nageswaragunupudi
Wed Jun 02, 2010 7:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una de ToExcel() desde xBrowse
Replies: 4
Views: 902

Re: xbrowse maketotals fwh 10.1

... From version 10.2 onwards it is enough to assign oCol:nFooterType := AGGR_TOTAL // or AGGR_SUM. It is not necessary to assign values for oCol:lTotal and oCol:nTotal. Other available options are : oCol:nFooterType := AGGR_MAX or AGGR_MIN or AGGR_COUNT or AGGR_AVERAGE/AGGR_AVG or AGGR_STD/AGGR_STDEV ...
by nageswaragunupudi
Tue Mar 30, 2010 1:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse maketotals fwh 10.1
Replies: 5
Views: 1002

Re: xbrowse maketotals fwh 10.1

... method totals only those columns where oCol:nTotal is numeric and displays oCol:nTotal in the footer using the oCol:cEditPicture. oCol:lTotal is used to total in export to Excel and in Report method.
by nageswaragunupudi
Tue Mar 30, 2010 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse maketotals fwh 10.1
Replies: 5
Views: 1002

Re: xbrowse maketotals fwh 10.1

oBrw:aCols[6]:lTotal := .t.
oBrw:aCols[6]:nTotal := 0 // this line also is required

oBrw:MakeTotals()
by nageswaragunupudi
Thu Mar 25, 2010 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse maketotals fwh 10.1
Replies: 5
Views: 1002

Ayuda con TReport

... := {|| 2 } ENDIF ACTIVATE REPORT oReport ; ON STARTGROUP ( oReport:NewLine() ); ON ENDGROUP ( oReport:nPage:=0, Eval(bCabez)); ON END oReport:lTotal:=.f. ; //No imprimir el gran total en la ultima pagina ON ENDPAGE oReport:lPageTotal:=.f. //No imprimir el acum en cada pagina oFont:End() oFont1:End() ...
by FranciscoA
Thu Feb 18, 2010 10:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TReport
Replies: 2
Views: 923

Re: ** ListBox column in the XBROWSE

... END WITH OBJECT oBrw:Amount :cEditPicture := '9,99,999.99' :nTotal := 0 // this and next line tell the browse to auto total :lTotal := .t. END WITH OBJECT oBrw:Discount :bOnChange := { |oCol,uOldVal| oBrw:Dis:Value := ( oCol:Value != 0 ), ; oBrw:MakeTotals(), oBrw:RefreshFooters() ...
by shri_fwh
Mon Dec 21, 2009 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ** ListBox column in the XBROWSE
Replies: 4
Views: 1712

Re: Totalizar columnas en footer de TXBrowse

nageswaragunupudi, Error description: Error BASE/1005 Class: 'NIL' has no property: LTOTAL It happens in the line:   WITH OBJECT oBrwRec:oCol( 'IMP.INI' )      :lTotal  := .t.      :nTotal  := 0   END     I repeat, thank you very much for the example. Regret ...
by nageswaragunupudi
Mon Nov 23, 2009 11:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Totalizar columnas en footer de TXBrowse
Replies: 14
Views: 2822

Re: Totalizar columnas en footer de TXBrowse

... is simple enough and seems to be what I'm looking for, but I get a runtime error: Error description: Error BASE/1005 Class: 'NIL' has no property: LTOTAL It happens in the line:   WITH OBJECT oBrwRec:oCol( 'IMP.INI' )      :lTotal  := .t.      :nTotal ...
by triumvirato
Mon Nov 23, 2009 7:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Totalizar columnas en footer de TXBrowse
Replies: 14
Views: 2822

Re: xBrowse questions

... Rick Same syntax works for any data (ado, rdd, array ). After defining the columns either in @ .. xbrowse command or in ADD TO oBrw command, oCol:lTotal := .t. oCol:nTotal := 0 // if we already know the total, we can assign the total value. There is no need to separately assign cFooter or bFooter. ...
by nageswaragunupudi
Fri Jun 12, 2009 11:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse questions
Replies: 10
Views: 2117

Re: New FTDN March/Marzo 2009 (9.03)

... ; columns "Last", "City", "Salary" ; setup ; ( oBrw:lFooter := .t. ,; oBrw:lFastEdit := .t. ,; oBrw:Salary:lTotal := .t. ,; oBrw:Salary:nTotal := 0 ,; oBrw:Salary:nEditType := EDIT_GET ,; oBrw:MakeTotals() ; ) return nil Se establece como pie de página la ...
by Antonio Linares
Fri Apr 10, 2009 6:34 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2009 (9.03)
Replies: 1
Views: 2290

New FTDN March/Marzo 2009 (9.03)

... ; columns "Last", "City", "Salary" ; setup ; ( oBrw:lFooter := .t. ,; oBrw:lFastEdit := .t. ,; oBrw:Salary:lTotal := .t. ,; oBrw:Salary:nTotal := 0 ,; oBrw:Salary:nEditType := EDIT_GET ,; oBrw:MakeTotals() ; ) return nil Salary column totals are set as footer ...
by Antonio Linares
Fri Mar 27, 2009 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2009 (9.03)
Replies: 1
Views: 2290

Re: Aqui Un Ejemplo funcional para xbrowse

... no tengo la tabla, lo cual no es grave pq se puede ir creando a medida que de errores de base de datos, etc 2.- me da errores lo siguiente: oCol:lTotal := .t. //para totalizar cols a report y/o excel oCol:bFooter = {|| TRANSFORM(nTotal2,"9,999,999,999.99") } o:nFootStrAlign := 1 oCol:bEditWhen ...
by QAZWSX2K
Tue Mar 03, 2009 8:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Aqui Un Ejemplo funcional para xbrowse
Replies: 14
Views: 8104

... row only otherwise. We do not have to write code to decide whether full browse is to be refreshed or only edited row is to be refreshed. If oCol:lTotal is true and oCol:bFooter is not empty the xbrowse automatically refreshes the footer also. We do not have to write code calling oCol:RefreshFooter. ...
by nageswaragunupudi
Fri Jun 20, 2008 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse Footer sum of all numeric fileds in a row
Replies: 12
Views: 2846
PreviousNext

Return to advanced search