I have such a case where a Text Box's visibility is dependent on a row group's开发者_StackOverflow中文版 visibility (let's say the group is called GroupA). Actually this Text Box is showing the title of this row group, so only if the row group is visible, this text box would appear. I guess I can achieve this by setting the visibility of this text box using an expression. However, I don't know how to express the GroupA's visibility in expression. Please help, thanks!
Pass a parameter to the report expressing if the GroupA is visible, then use this parameter to set the textbox visibility.
Post an example of your code... or explain the logic that shows/hides the GroupA.
If the logic is the presence of records then the you can do this check outside the report, inside the code, and pass this information as parameter.
精彩评论