this is the report from oBrw:report()

I would simply like to have simple and not double lines, a test on the left and 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 give me error
source\Pcomuni.prg(349) Error E0005 Outer codeblock variable 'OREP' is out of reach

I would simply like to have simple and not double lines, a test on the left and 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 give me error
source\Pcomuni.prg(349) Error E0005 Outer codeblock variable 'OREP' is out of reach
oRep:oFooter := TrLine():New( {{|| "Page : "+Str(oRep:nPage,3)} }, oRep, 3 )
oRep:bSkip := {|| (IF(!oDbf:Eof(),oDbf:Skip(),nil), IF(oRep:nCounter % 2 =1 , oRep:lShadow :=.F.,oRep:lShadow :=.T.))}Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
