Search found 71 matches: ncounter

Return to advanced search

bsetup of Report

... the date and page number/pages on the right bSetUp := < |oRep, Brw, n | if n == 2 oRep:bSkip := {|| (IF(!oDbf:Eof(),oDbf:Skip(),nil),; IF(oRep:nCounter % 2 =1 , oRep:lShadow :=.f.,oRep:lShadow :=.t.))} return nil endif return 2 > oBrw:Report("List", nil, nil, bSetup) these lines ...
by Silvio.Falconi
Wed Apr 26, 2023 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bsetup of Report
Replies: 1
Views: 189

Re: Help for xbrowse report bSetUp

...   := { |n| lEof := ( Eval( oBrw:bSkip, n ) != n ) }   endif  Por eso es que la linea oRep:bSkip := {|oRep| IF(oRep:nCounter % 2 =1 , oRep:lShadow :=.f.,oRep:lShadow :=.t.) } No tiene efecto the bskip it make right because I made If empty(aColumns) aColsReport:= oBrw:aCols ...
by Silvio.Falconi
Sun Mar 19, 2023 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for xbrowse report bSetUp
Replies: 3
Views: 466

Re: Help for xbrowse report bSetUp

... |n| lEof := ( Eval( oBrw:bSkip, n ) != n ) }   endif  Por eso es que la linea oRep:bSkip := {|oRep| IF(oRep:nCounter % 2 =1 , oRep:lShadow :=.f.,oRep:lShadow :=.t.) } No tiene efecto
by cmsoft
Sun Mar 19, 2023 3:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for xbrowse report bSetUp
Replies: 3
Views: 466

Help for xbrowse report bSetUp

... bStart := {|oRep| oRep:bStartPage := bImage} bInit := {|| oBrw:oDbf:GoTop()} bSkip := {|| (IF(!oBrw:oDbf:Eof(),oBrw:oDbf:Skip(),nil),IF(oRep:nCounter % 2 =1 , oRep:lShadow :=.f.,oRep:lShadow :=.t.))} if n == 2 oRep:oShdBrush := TBrush():New(,nRgb(219,229,241)) oRep:bInit := bInit oRep:bSkip ...
by Silvio.Falconi
Sat Mar 18, 2023 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for xbrowse report bSetUp
Replies: 3
Views: 466

Exportacíon Excel desde Reporte

... SIZE 8; CENTER GROUP ON oTELE0060:A_ENTRE_60; FOOTER SUBSTR(oReport:aGroups[1]:cValue,1,8) + '=>' + Alltrim(str(oReport:aGroups[1]:nCounter)); FONT 2 oReport:lGrid := .T. oReport:cGrandTotal := "Total Geral ==>" END REPORT IF !oReport:lCreated RETU NIL ENDIF oReport:oTitle:aFont[1] ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 364

Re: Printer class question

... about twenty all different in addition to the other prints (lists) that I use the simple treport cche also there are the problems like the famous ncounter then solved in a topic in the forum, we have the invoice but we do not have a single document there there are many types of invoices: accompanying ...
by Silvio.Falconi
Wed Oct 21, 2020 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 4961

Re: nCounter Report not run ok RESOLVED

Excellent!
by artu01
Sat Oct 10, 2020 6:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1740

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: 1740

Re: nCounter Report not run ok

Silvio: at the beginning, ncounter should be 0 Dear artu01, I have been looking for solutions for a week, turning the forum many times and all my saves from 1992 to today, from fw14.4 to the penultimate 32-bit version of 2020, unfortunately ...
by artu01
Sat Oct 10, 2020 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1740

Re: nCounter Report not run ok

Silvio.. oReport:aGroups[ nGroup ]:nCounter  Carlos, I already knew, the problem is: 1) For the command of the groups we must use oReport: aGroups [nGroup]: nCounter 2) To get the total we can no longer use oReport: nCounter (because it ...
by Silvio.Falconi
Fri Oct 09, 2020 6:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1740

Re: nCounter Report not run ok

Silvio..
Code: Select all  Expand view

oReport:aGroups[ nGroup ]:nCounter
 
by carlos vargas
Fri Oct 09, 2020 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: nCounter Report not run ok RESOLVED
Replies: 18
Views: 1740

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: 1740

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: 1740

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 =========== Called ...
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: 1740
Next

Return to advanced search