Customer2XX Customer2's stuffXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
and on and on....
You are the programmer, you can do anything you want. If need help with the logic, that is what we are here for. Mike Wills
IBM iSeries (AS/400) Programmer
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.