Search found 16 matches: atotal

Return to advanced search

Re: Strange Error ORDBAGNAME with fwh 19.05

... I call the fields array use this command RptAddColumn( {bTitulo(::aTitulos,i)},,{bCampo(::aCampos,i)},::aWidth[i],{bPicture(::aPicture,i)},{||1},::aTotal[i],,upper(::aAlign[i]),::lshadow,::lGrid,) the function bCampo(::aCampos,i) function bCampo( aCampos, nFor ) return (fieldWBlock(aCampos[nFor],SELECT() ...
by Silvio.Falconi
Tue Jun 25, 2019 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange Error ORDBAGNAME with fwh 19.05
Replies: 2
Views: 479

Almacenar/Recuperar imagenes, binarios en Tablas DBF

... LOCAL aFiles :={},nSize:=0,oFile,cMemo:="" LOCAL cBin :=Lower(cFilePath(GetModuleFileName( GetInstance() ))) LOCAL aPages:={},I,aTotal:={},nTotal:=0,lZip:=.F. LOCAL aPag :={},nPage LOCAL nFileMax :=(1024**4)*2 // Tamaño maximo permitido para almacenar, en paginado el limite esta ...
by jnavas
Mon Mar 09, 2015 1:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Almacenar/Recuperar imagenes, binarios en Tablas DBF
Replies: 12
Views: 5008

Re: Obtener Totales en Report

... "+oReport:aGroups[1]:cValue+" "+LTrim(Str(oReport:aGroups[1]:nCounter))+" -----> "+ Transform(oReport:aGroups[1]:aTotal[4] ,"999,999,999.99") //[4] es la columna en el reporte, que totalizas además: ACTIVATE REPORT oReport ON STARTGROUP ( oReport:aColumns[4]:nTotal:=0 ...
by FranciscoA
Mon Aug 02, 2010 7:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Obtener Totales en Report
Replies: 6
Views: 1266

Obtener Totales en Report

... Registros "+oReport:aGroups[1]:cValue+" "+LTrim(Str(oReport:aGroups[1]:nCounter))+" -----> "+ Str(oReport:aGroups[1]:aTotal[1],6,2) ; FONT 1 Desde ya muchas gracias .....
by cmarucco
Fri Jul 30, 2010 6:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Obtener Totales en Report
Replies: 6
Views: 1266

Ayuda con TSBrowse movimiento del cursor

... ADD COLUMN TO ::oLbx2 ; // 3 HEADER "Cargos" ; SIZE 100 PIXELS ; DATA FieldWblock( "M_CARGO", Select() ) ; PICTURE "99999,999.99" ; FOOTER { || ::aTotal[1] } ; 3DLOOK TRUE ALIGN DT_RIGHT, DT_CENTER, DT_RIGHT; EDITABLE MOVE DT_MOVE_NEXT ADD COLUMN TO ::oLbx2 ; // 4 HEADER "Abonos" ; SIZE 100 PIXELS ...
by Fco_Ozuna
Tue Aug 12, 2008 1:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TSBrowse movimiento del cursor
Replies: 2
Views: 833

... TWBROWSE: Acho que o que precisas é a linha: oLbx:bEdit:= {|nCol, cBuffer, lFirstEdit|; EditaCelda( oLbx, nCol, cBuffer, aDatos, lFirstEdit, aTotal ) } Exemplo: #include "FiveWin.ch" Function Main() LOCAL aTotal:= {0,0,0, Nil, Nil, Nil} LOCAL aDatos:= {} // Array MultiDimensional // Cod.Art. ...
by AOKISANTOS
Mon Sep 24, 2007 4:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWBrowse Editable
Replies: 3
Views: 2021

... noticed that you have a syntax error in your code--too many parenthses. It should be: oReport:bEndGroup:={ ; | oCol | ; (oCol:oReport:aGroups[1]:aTotal[2]:=(oCol:oReport:aGroups[1]:aTotal[4] * 30) ),; (oCol:oReport:aGroups[2]:aTotal[2]:=(oCol:oReport:aGroups[2]:aTotal[4] * 30) ); } James
by James Bott
Sun Apr 29, 2007 7:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Group Total on Treport
Replies: 5
Views: 1557

... like this: {| | function1(), function2(), function3() } So for your code just do this: oReport:bEndGroup:={ ; | oCol | ; (oCol:oReport:aGroups[1]:aTotal[2]:=((oCol:oReport:aGroups[1]:aTotal[4] * 30) ),; (oCol:oReport:aGroups[2]:aTotal[2]:=((oCol:oReport:aGroups[2]:aTotal[4] * 30)); } James
by James Bott
Sun Apr 29, 2007 7:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Group Total on Treport
Replies: 5
Views: 1557

Group Total on Treport

Hi I have a Report with 2 groups and i need to declare 2 bEndGroup oReport:bEndGroup:={ | oCol | (oCol:oReport:aGroups[1]:aTotal[2]:=((oCol:oReport:aGroups[1]:aTotal[4] * 30) )} oReport:bEndGroup:={ | oCol | (oCol:oReport:aGroups[2]:aTotal[2]:=((oCol:oReport:aGroups[2]:aTotal[4] * 30))} ...
by Pedro Faro
Fri Apr 27, 2007 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Group Total on Treport
Replies: 5
Views: 1557

... Fijate estos metodos: oLbx:lAutoEdit := .t. oLbx:bEdit:= {|nCol, cBuffer, lFirstEdit|; EditaCelda( oLbx, nCol, cBuffer, aDatos, lFirstEdit, aTotal ) } Algo similar podes hacer con browses sobre dbfs: oBcli:lAutoEdit := .t. oBcli:bKeyChar := {|nK| if( nK==VK_RETURN,oBcli:Edit(oBcli:nColAct,.t.),) ...
by goosfancito
Mon Nov 27, 2006 1:54 pm
 
Forum: FiveWin para CA-Clipper
Topic: Ejemplo de un Browse tipo Factura
Replies: 27
Views: 15159

>I discovered the solution. I need to force de Atotal[4]

Right. Sorry I didn't mention that.

Glad to hear you got it working.

James
by James Bott
Mon Sep 11, 2006 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Total on GROUP
Replies: 4
Views: 1500

Total Groups

Hi James

I discovered the solution. I need to force de Atotal[4]


oReport:bEndGroup:={ | oCol | (oCol:oReport:aGroups[1]:aTotal[4]:=(oCol:oReport:aGroups[1]:aTotal[3] / oCol:oReport:aGroups[1]:aTotal[2]) * iif(tcalc=1,365,12) )}


Regards

Pedro
by Pedro Sousa e Faro
Mon Sep 11, 2006 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Total on GROUP
Replies: 4
Views: 1500

Group Totals

... FOOTER "Total factor - "+oReport:aGroups[1]:cValue+ ; " ("+ltrim(str(oReport:aGroups[1]:nCounter))+")"; FONT 1 pmp_g:=(aGroups[1]:aTotal[3] / aGroups[1]:aTotal[3]) * iif(tcalc=1,365,12) ?? How can i print pmp_g ?? under the 4 column END REPORT Activate Report oReport ON STARTGROUP ...
by Pedro Sousa e Faro
Mon Sep 11, 2006 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Total on GROUP
Replies: 4
Views: 1500

Group Totals Here is how you can get access to the group totals: oReport:bEndGroup:={ | oCol | msgInfo( oCol:oReport:aGroups[1]:aTotal[4]) } This would show the group total for column 4 of group 1 (if you are only using one group then it will be 1. Note that bEndgroup is eval'd before ...
by James Bott
Mon Sep 11, 2006 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Total on GROUP
Replies: 4
Views: 1500

Consulta sobre la clase TExcel

... nRow, 18) )} aAlign[1]:=3 aAlign[2]:=3 aAncho[1]:=13 aAncho[2]:=10 aPicture[1]:="#,##0" aPicture[2]:="#,##0" aFormula[1]:=.F. aFormula[2]:=.T. aTotal[1]:=.T. aTotal[2]:=.T. FOR i= 1 to len(aDato) DEFINE XLS FORMAT aFormat[i] PICTURE aPicture[i] NEXT //Creo objeto XLS XLS oXLS FILE &cNomFile ...
by jose_murugosa
Thu Apr 27, 2006 5:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Consulta sobre la clase TExcel
Replies: 0
Views: 646
Next

Return to advanced search