Hi
I'm trying to hide a section, if a boolean MyBoolean is on/off on request form/page. I'm entirely new at RTC reports.
OnPresection
CurrReport.SHOWOUTPUT(SomeBoolean AND MyBoolean);
This works in classic. In RTC these lines show up. I figured because it doesn't have sections, and I'd need to put the logic in the property of the line called "Hidden" under "Visibility". The "SomeBoolean" is already there, but somehow MyBoolean is not listed under globals or fields. I then tried to set the property in Classic for the global MyBoolean to IncludeInDataSet to Yes, but I still do not find it.
0
Comments
In request page need to create dummy variable bool1 datatype boolean then set the include data set yes. after that need to call bool1 in MyBoolean field properties visible column.
IF condition then
bool1.visible=true
else
bool1.visible=false;
Regards
Packiya :P
What I did however was, I added a textfield to the Header in Sections with MyBoolean as Source and set it as Visible,No, and then I managed to find it in RTC designer and used it in the Visibility,hidden expression. It finally works.