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

Can you divide a report vertically? 2

Status
Not open for further replies.

ffleitas

Technical User
Mar 15, 2001
85
0
0
US
Hello programers,

On a report can I divide it vertically? For example:

Header Detail

CustomerID productid description amount
Address1 productid description amount
Address2 continuation of above

Thank you,
Felix
 
Hello,

I don't understand what you are asking. Are you talking about control-level breaks, so the page would look like this?


Customer Products

Customer1XX Customer1's stuffXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Customer2XX Customer2's stuffXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
and on and on....

if so then yes you can. If not please explain.

 
Yes you can divide a report verticaly by using arrays, built your arrays and then you print on a break.
 
I would use 2 arrays with text fields -- one for the name and address, and one for the detail. Make the arrays large enough to hold the maximum number of detail lines. Loop through the arrays to format the name and address and then do the same for the detiallines. Your O-specs will have something like this (not to scale):

Oqsysprt detail 1 1
O custtxt(x) 40
O custdtl(x) 80

Just loop through the array until both custxt(x) and cusdtl(x) are both blank. "Don't worry about the world coming to an end today. It's already tomorrow in Australia."
--Charles Schultz

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top