01-20-2011 01:13 PM
Can a subreport set visible to false for an item on the main report section?
if chResult="Field Changed" Then Section1.Visible=False
This line would be in a history subreport. I'd want it to hide section1 of the main report. However it doesn't seem like a subreport can control visibility of any item on the main report. I'm guessing I don't know the proper name for the main report object.
Just trying to make it hide a label I've tried:
None of those seem to have an effect. I did rename Section 1 Header on the main report to Section1Header thinking it couldn't/shouldn't contain spaces in a variable name. Since the report comes with spaces, I'd wager that I'm way off on the objects real name.