PDA

Click to See Complete Forum and Search --> : [RESOLVED] SubReport Doesn't Expand Properly


stingrae
Mar 10th, 2004, 06:25 PM
Hi All,

I have a report (VB.Net to Crystal) and inside this report I have a supreport.

The problem I have is that as the subreport expands, it overwrites text that is placed below it.

I'll try and draw it:

[------------------------------]
[ Heading ]
[ ]
[ Main Report Stuff ]
[ : ]
[ Subreport ]
[ More main stuff ]
[ ]
[ Footer ]
[------------------------------]

So looking at this (lously exuse for a) picture, the subreport ends up being printed over the top of the "more main stuff" and also over the footer. Even though I have the "cangrow" property set to true for the sub report field, this still hapens.

any ideas?

cheers.

brucevde
Mar 10th, 2004, 07:41 PM
Place the sub report in its own sub-section. You can create additional sections for any main(default) section. Right click the section where the sub report is located and click Insert Section Below(or something like that.

For example assuming this layout

Group Header - Heading Information
Details - Main Report Stuff
- Sub Report
- More Main Stuff
Group Footer - Footer Information

'Add two additional detail sections (or where ever our sub report is located). Your report will now look something like

Group Header - Heading Information
Details a - Main Report Stuff
Details b - Sub Report
Details c - More Main Stuff
Group Footer - Footer Information

Crystal does not start printing a section until it has printed the previous section.

stingrae
Mar 10th, 2004, 08:52 PM
cool. THANKYOU!!

:cool: