At 12:44 PM 6/10/2005, Claudine Robbins wrote:
That was a real DUH this morning... I love sub-reports and I love R:Base!!!
Note that in the EEPsInReportBands, the single quotes are missing from
around 'TRUE' and 'FALSE'. Does that mean they are optional?
Claudine,
What syntax do you get from R:Docs? <g>
I suggest that you do put the quotes around it.
Very Best R:egards,
Razzak.
Claudine :)
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
> Memon
> Sent: Friday, June 10, 2005 11:33 AM
> To: RBG7-L Mailing List
> Subject: [RBG7-L] - Re: 7.5 Report Question
>
>
> At 11:42 AM 6/10/2005, Claudine Robbins wrote:
>
> >GETPROPERTY stopdesc TEXTVALUE 'vstopdesc'
> >IF vstopdesc IS NULL THEN
> > PROPERTY region3 VISIBLE FALSE
> >ENDIF
> >RETURN
>
>
> Claudine,
>
> Define a variable as expression in report designer
> to achieve that goal. Make sure that the expression
> is evaluated at the [D] section.
>
> Then, use that value to evaluate the options to
> dynamically change the PROPERTY of any report
> control, as demonstrated in "EEPsInReportBands"
> in RRBYW10.
>
> So, instead of:
>
> GETPROPERTY stopdesc TEXTVALUE 'vstopdesc'
> IF vstopdesc IS NULL THEN
> PROPERTY region3 VISIBLE FALSE
> ENDIF
> RETURN
>
> You would use the following technique as
> "Before Generate Custom EEP" for that particular
> band:
>
> IF vVarriableValue IS NULL THEN
> PROPERTY region3 VISIBLE 'FALSE'
> ELSE
> PROPERTY region3 VISIBLE 'TRUE'
> ENDIF
> RETURN
>
> Hope that helps!
>
> Very Best R:egards,
>
> Razzak.