SQL Reports SubReports

How can i make a sub report disapear from a SQL report based on cretrin parameters.  I know i can set the visiblility to Hidden = true, but I want it to not only disappear but i also want it to move everthing that is below it up.  any adviss would be helpful
LVL 1
DB_FuryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

indianguru2Commented:
Write an IIF("if clause", true, false) clause in the Visibility property.
0
DB_FuryAuthor Commented:
I can get that, but the problem that i am having is that there is just a big hole where that section should be,  is there a property or something that i can change that will move everything below that hidden field up so there is not a big hole in the report?
0
indianguru2Commented:
Oops ... no ... that is not possible... tried it .. space will be there ... unless you move it to the end of the report.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

indianguru2Commented:
Add the Sub Report to a table and Set the Rows property to Hidden as mentioned above. That should solve your problem.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DB_FuryAuthor Commented:
Yeah that sounds right, buy where is the rows property? Im in visual stuido 2005.  is it on the subreport properties in the main report, or in the actaul report properties of the report that i want to be a subreport....if that makes sense
0
DB_FuryAuthor Commented:
oh i think i see what you are saying.  so put a actual table on my report and in each of the rows put a subreport in that?
0
DB_FuryAuthor Commented:
thank you very much for your hlep
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.