Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Push SubReports and Fields down when... 1

Status
Not open for further replies.

Nick366

MIS
Jan 28, 2004
20
US
...there is a growing SubReport above.

I am using Crystal Reports 8.

I have a growing SubReport above other SubReports. The problem is, the top SubReport is growing over the lower SubReports. How do I get it to push the other Fields/SubReports down on the sheet?

Thanks in advance for any info!

Nick
 
Ok, I figured out a little of it, but still need help in this issue.

I found out that I am able to add other detail sections, and that works great of a portion of my report. The other thing I need to do is...

______________ _______________
| SubReport 1 | | SubReport 2 |
| | | |
| | | |
--------------- | |
_______________ | |
| SubReport 3 | | |
| | | |
| | | |
--------------- | |
| |
----------------

I hope that comes through correctly. If not, it is two SubReports stacked on the left, with a SubReport on the right that grows past the begining of SubReport 3, until it ends. I need help on pushing SubReport 3 down
 
Make the first section contain subreport2 and have that placed on the right side. Format section and Underlay that section.

Next section will contain Subreport 1

3rd section will contain subreport 3
 
Ok, something is not working. It will not allow me to put a SubReport within a SubReport. So I created an outside Report to incorporate the two SubReports. Then when I attached that outside report to the main report, the SubReports within do not show up.
 
You can't use subreports within subreports, and you don't really need to here. What Bob was suggesting is to place each subreport in its own section. Lets' say you're using the report header section. Insert two additional report header sections by clicking on the gray area to the left of the report display area and choosing "Insert section below" twice. Place subreport2 in report header_a, subreport1 in report header_b and subreport 3 in report header_c. Then go to format->section->report header_a and check "Underlay following sections."

-LB
 
Underlay is working, but now it is forcing the other two sections to the following page. It looks like this:
[tt]

----------------
| SubReport 2 |
| |
| |
| |

- - - - - - - - - - - - - - - - - - End of page

--------------- | |
| SubReport 1 | | SubReport 2 |
| | | (cont) |
| | | |
--------------- | |
_______________ | |
| SubReport 3 | | |
| | | |
| | | |
--------------- | |
| |
----------------
[/tt]

Since SubReport2 is longer then the page it starts on, it is forcing SubReport 1 and 3 to start on the following page. Is there anyway to have them start at the same time no matter how long SubReport 2 gets? It is possible that SubReport 2 could span more then 2 pages...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top