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

two documents in one page

Status
Not open for further replies.

dfbonilla

MIS
Jan 26, 2004
19
In my process I need to print two documents per page in letter paper size, one per 1/2 of page. header and footers are always the same but detail lines can be variable sometimes 1 line some other times 4 or 5 lines. How can I make the second doc always start in the middle of the page?
Thank you in advance. Diego
 
How is your report structured? Does your letter consist of a group header, details section, and group footer? When there is only 1 detail row in a letter, where do you want the extra space to appear? If you want the entire letter to be reoriented so that it is centered vertically on the half page, then I think you could insert additional group header and group footer sections that are conditionally suppressed based on the number of detail rows. If five is the maximum number of lines, you could add two group headers and two group footers, and conditionally suppress GH#1a with:

count({table.groupfield},table.groupfield}) > 2
Suppress GH#1b with:

count({table.groupfield},table.groupfield}) > 4

Suppress GF#1c (the last one) with:

count({table.groupfield},table.groupfield}) > 1

Suppress GF#1b with:

count({table.groupfield},table.groupfield}) > 3

-LB


 
LB thank you. That was kind of what I did. I solved it yesterday night. Because I know I will not have more than 10 "details" I created 10 Goup Footers and suppress it based on the record count of the detail, one suppresion for each line prnted.
Thank you again. Diego
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top