Search found 12 matches: bstartrecord

Return to advanced search

Re: nCounter Report not run ok

artu01 wrote:
Try this way


Dear artu01,
we allready resolved

For Groups
oReport:aGroups[ nGroup ]:nCounter

for bfor and others
local nCounter:= 0

...
oReport:bStartRecord := { || nCounter++ }

...
ACTIVATE REPORT oReport ;
....
oReport:Say(1, 'Total customers: '+Tran(nCounter, '@E 999,999'), 1)
by Silvio.Falconi
Sat Oct 10, 2020 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1242

Re: nCounter Report not run ok

cnavarro wrote:You are used
Code: Select all  Expand view

     oRep:bStartRecord  := { || nCounter++ }
 


or oReport:bStartRecord ?


yes of course
but my question
for total customer we must use a local variable
for group command we need to use oRep:nCounter
Do you think about it.. is normal ?
by Silvio.Falconi
Fri Oct 09, 2020 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1242

Re: nCounter Report not run ok

You are used
Code: Select all  Expand view

     oRep:bStartRecord  := { || nCounter++ }
 


or oReport:bStartRecord ?
by cnavarro
Fri Oct 09, 2020 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1242

Re: nCounter Report not run ok

Please, use this      oReport:bStartRecord  := { || nCounter++ }  Remove nCounter++ of others lines or clauses Error description: Error BASE/1005 Message not found: TREPORT:_BSTARTRECORD Args: [ 1] = O TREPORT Stack Calls =========== ...
by Silvio.Falconi
Fri Oct 09, 2020 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1242

Re: TReport samples

I just instaled another printer (Epson Stylus 85) and it did not work. Actualy using oRepo:bStartRecord := { || oRepo:separator() } ( test version 2 ) it works. oRepo:bStartRecord := { || oRepo:box( oRepo:nRow / oRepo:oDevice:nLogPixelY, oRepo:nMargin/oRepo:oDevice:nLogPixelX, ...
by mosh1
Mon Apr 29, 2013 9:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TReport samples
Replies: 30
Views: 4627

Re: TReport samples

I just instaled another printer (Epson Stylus 85) and it did not work. Actualy using oRepo:bStartRecord := { || oRepo:separator() } ( test version 2 ) it works. oRepo:bStartRecord := { || oRepo:box( oRepo:nRow / oRepo:oDevice:nLogPixelY, oRepo:nMargin/oRepo:oDevice:nLogPixelX, ...
by ADutheil
Mon Apr 29, 2013 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TReport samples
Replies: 30
Views: 4627

Re: Una duda con Report

... 0,BALA->totalsgrup,; BALA->importe ) ,; ) algo asi diretamente sobre la columna del reporte, si no, tendrias que acualizar nImporte en bStartRecord o bStartLine del reporte espero haber entendido saludos Marcelo
by Marcelo Via Giglio
Tue Feb 03, 2009 8:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una duda con Report
Replies: 8
Views: 1328

... Called from: C:\SISINGE\PRUEBASX\REPORT.PRG => MAIN(110) agregue esto nuevo...y ahora da el error anterior.... intente usar, oRpt:bStartRecord := {|| nVentas+= &(oDbf)->total } y nVentas siempre me da 0, nose si es que lo estoy usando en el lugar equivocado, lo hacia para ...
by joseluisysturiz
Wed Oct 29, 2008 2:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OTRAS PREGUNTAS DE REPORT - (RESUELTO)
Replies: 18
Views: 3570

... Called from: C:\SISINGE\PRUEBASX\REPORT.PRG => MAIN(110) agregue esto nuevo...y ahora da el error anterior.... intente usar, oRpt:bStartRecord := {|| nVentas+= &(oDbf)->total } y nVentas siempre me da 0, nose si es que lo estoy usando en el lugar equivocado, lo hacia para ...
by FranciscoA
Wed Oct 29, 2008 12:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OTRAS PREGUNTAS DE REPORT - (RESUELTO)
Replies: 18
Views: 3570

... Called from: C:\SISINGE\PRUEBASX\REPORT.PRG => MAIN(110) agregue esto nuevo...y ahora da el error anterior.... intente usar, oRpt:bStartRecord := {|| nVentas+= &(oDbf)->total } y nVentas siempre me da 0, nose si es que lo estoy usando en el lugar equivocado, lo hacia para ...
by joseluisysturiz
Tue Oct 28, 2008 11:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: OTRAS PREGUNTAS DE REPORT - (RESUELTO)
Replies: 18
Views: 3570

... + str(nTotNo) +; " Total Efectivas: " + str( nTotSi ) ) ) Para obtener totales por registro usas oReport:bStartRecord := {|| nTotFac+= fact->monto, if (fact->si, nTotSi+=Fact->Monto, nTotNo+=Fact->monto ) } <5.por lo que vi, no puedo seleccionar ...
by Daniel Garcia-Gil
Sun Oct 26, 2008 1:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DIFERENTES FONT Y TAMAÑOS EN COLUMN DE REPORT
Replies: 4
Views: 1188

Hola,

puedes probar con:

oReport:bStartRecord := {|| 'calculo del total' }

oReport:bEndPage := oReport:aColumns[nColumna]:nTotal := 'total calculado'

solo una idea

saludos

Marcelo
by Marcelo Via Giglio
Mon Oct 01, 2007 3:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Columnas de clase report
Replies: 1
Views: 529

Return to advanced search