I wish insert the shadow of this column it ::oPrenota:datapayed not empty
COLUMN TITLE "CLIENTE " DATA ::oPrenota:GUEST SHADOW
how I can resolve ?
Re: report with tdatabase condition - resolved !!
- Silvio.Falconi
- Posts: 7133
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: report with tdatabase condition - resolved !!
Last edited by Silvio.Falconi on Tue May 04, 2021 7:02 am, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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 November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: report with tdatabase condition
Silvio,
Try it this way:
COLUMN oCol TITLE "CLIENTE " DATA ::oPrenota:GUEST SHADOW
ACTIVATE REPORT ... ON STARTLINE oCol:lShadow := ! Empty( ::oPrenota:datapayed )
Try it this way:
COLUMN oCol TITLE "CLIENTE " DATA ::oPrenota:GUEST SHADOW
ACTIVATE REPORT ... ON STARTLINE oCol:lShadow := ! Empty( ::oPrenota:datapayed )
- Silvio.Falconi
- Posts: 7133
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: report with tdatabase condition
Antonio,
give me this error
Error description: Error BASE/1003 Variabile inesistente: OCOL
Stack Calls
===========
Called from: source\spiaggia\PSituaz.prg => (b)TREPSITUAZIONE_ACTIVATE( 81 )
I sent you a test
give me this error
Error description: Error BASE/1003 Variabile inesistente: OCOL
Stack Calls
===========
Called from: source\spiaggia\PSituaz.prg => (b)TREPSITUAZIONE_ACTIVATE( 81 )
I sent you a test
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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 November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42516
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
- Silvio.Falconi
- Posts: 7133
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: report with tdatabase condition
Antonio Linares wrote:A "local oCol" is missing
I put this local variable and it make error same
Code: Select all | Expand
METHOD Activate() CLASS TRepSituazione
local oCol
IF ::lActivate
::oReport:bSkip := { || ::oPrenota:skip(1) }
ACTIVATE REPORT ::oReport WHILE !::oPrenota:eof() ;
ON STARTLINE oCol:lShadow := ! Empty( ::oPrenota:DATAPAYED )
ENDIF
::oFont:End()
::oPrenota:SETFILTER("")
::oPrenota:Close()
RETURN NIL
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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 November 2023 - January 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
- Silvio.Falconi
- Posts: 7133
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: report with tdatabase condition - resolved !!
Corrected
ACTIVATE REPORT ::oReport WHILE !::oPrenota:eof() ;
ON STARTLINE ::oReport:aColumns[ 3 ]:lShadow:= ! Empty( ::oPrenota:DATAPAYED )
ACTIVATE REPORT ::oReport WHILE !::oPrenota:eof() ;
ON STARTLINE ::oReport:aColumns[ 3 ]:lShadow:= ! Empty( ::oPrenota:DATAPAYED )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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 November 2023 - January 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