Thanks for your input. However the above will not work for me as each column has a different color and I need the individual fields to display the correct color. The DDS manual references an "OVERLAY" option. For the description, I gather that I can write a normal subfile out (While writing out I know that record 3 will have an subfile line, so I write an extra subfile line after record 3. At the end, I write a record that "Overlays" the subfile for this record. Footers appear to be treated this way, but I cannot seem to get it to work. Any examples would greatly be appriciated!!
Thanks!
Main Topics
Browse All Topics





by: daveslaterPosted on 2009-04-06 at 00:08:06ID: 24074908
Hi
there is no way to write different records in a subfile, If you are simply using the subfile for output this is what I have done in the past:
1. Create one field on the Subfile, character(79)
2. Using the RPGLE BIF's ie EDTCDE, build up the string as you wish to see it
3 Output the string along with a hidden record ID.
you can use diffeent data structures to hold the subfile formats.
Quick and easy to maintain.
Dave