Click to See Complete Forum and Search --> : How to hide empty subreports?
jori0001
September 7th, 2006, 04:27 AM
hi!
i work with crystal reports 8.5 and have a question about it.
how can i hide empty subreports ? there is now feature included which can handle this.
maybe somebody can help me with my problem.
thx
DoPLeGaNgA
September 7th, 2006, 09:00 AM
Format subreport, click the subreport tab and click supress blank subreport.
jori0001
September 8th, 2006, 05:09 AM
thank you for your answer. I think this option is not available in version 8.5.
my reports looks like this
http://www.bilderupload.org/070105/Bbf8ZY5g.JPG
when I click on it with the right mouse button and choose format i get this
http://www.bilderupload.org/070105/viDj0VW7.JPG
and when I click subreport
http://www.bilderupload.org/070105/bZHzfur2.JPG
do you have more ideas?
jori0001
September 11th, 2006, 03:11 AM
How can I use a variable of a subreport in the main report? if I could check if the variable of the subreport is NULL I could suppress the subreport.
jori0001
September 11th, 2006, 07:48 AM
Ok, now I can suppress the content of the subreport. but the subreport itselfe is stille there. the border is still there and the other subreports don't move to the suppressed subreport's postion. any ideas?
http://www.bilderupload.org/070108/izPwWsxI.jpg
Rashmi22
September 12th, 2006, 01:28 AM
You can suppress the border of the sub-report.Right-click on sub-report in design mode,select 'Borders and Colors' option. Set all the Line-Style to 'None'.
If you have 'only' the sub-report in the Section, then you can do
Format Section->Suppress Blank Section
Rashmi
jori0001
September 12th, 2006, 01:59 AM
Thanks for your answer, but that doesen't resolve the problem. now the borders are suppressed, but the subreport among doesen't move up. the blank space seems to be reserved for the suppressed subreport. it gives me the willies.
isn't it possible to use a variable from the subreport in the mainreport? then I could use the function "suppress (no drilldown)" and in my opinion it should work.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.