× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Willie

I have an idea but it might not fit your needs. Anyway, is your report amenable to using an SQL statement to get the data? If so, you might look at a QM query with its QM form for the layout - you can actually wrap a text field within a column with a QM form - something very messy in RPG, as you describe.

I think Scott's suggestion might work, except that I think it wraps to the first position on the report, if I remember correctly. It only makes a folded line break at a blank instead of the end of the line.

Come on back if the QM solution sounds good - you can get a really nice report with it - multiple header and footer lines and break sections and all that.

Vern

At 05:13 PM 1/31/2007, you wrote:

I know that you can use the 'WRDWRAP' on a display DDS. But can you use it in a print DDS? We have a field that is 256 characters long and I need to print 60 characters on a line. I could move it into a data structure that is broken up in fields of 60 characters each.
But was hopping that there might be a better way.
Thanks for any and all help,
William Moore


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.