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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fixed length section

Status
Not open for further replies.

dtrumbower

Programmer
Feb 16, 2001
53
SE
I have a report that has a detail and page footer section.
The detail is a subreport taht can grow. I need to have the footer section always start at the same line number. Is there a way to do this in crystal?

Thanks


Dwight
 
Try to place the subreport section as an Underlay
to another detail section, which has the desired
fixed length.

Cheers,
- Ido ixm7@psu.edu
 
It some what works except the subreport can be multiple lines or one line.

I'll try the underlay within the subreport.
Dwight
 
If it wasn't clear from my first answer, the intention is to have the subreport section underlay a fixed length section that is blank. This way, the fact that the subreport can grow just means that it occupies more of the fixed blank space left by the fixed-length detail section.

Cheers,
- Ido ixm7@psu.edu
 
I understand completely and have blank section following the subreport. Following the blank section is another detail section with some data. The total line count still varies by the data in the subreport. When the report is printed to standard printer it looks correct, but when it is printed to a line printer or text file the rows are not at fixed positions.

Dwight
 
In that case, try to create a bunch of blank detail sections (one row each) and progressively suppress each of them based on a shared variable containing the number of rows in the subreport.

For each additional row in the subreport, suppress
one more blank detail section.

Cheers,
- Ido ixm7@psu.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top