|
I was thinking somewhat along the same lines. Displaying the first 40
characters of the 180 character field, and then when a new record needs to
be added, or a present record needs to be modified/changed, displaying that
action to ONE record in another window, and using WRDWRP and/or CNTFIELD
within that one record window
Alan Shore
NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
Booth Martin
<booth@xxxxxxxxxx
om> To
Sent by: RPG programming on the AS400 /
rpg400-l-bounces@ iSeries <rpg400-l@xxxxxxxxxxxx>
midrange.com cc
Subject
06/13/2006 03:44 Re: Word wrapping
PM
Please respond to
RPG programming
on the AS400 /
iSeries
<rpg400-l@midrang
e.com>
At 70 or so characters per line you won't be fitting many subfile
records on the screen at one time.
Would it make sense to just show a window that displays one record and
enable the page up/down keys so you can page through your data with the
page keys?
Alan Shore wrote:
Afternoon all, I have a sub-file that I am displaying data from a file. Part of this
data
is a field that is 170 characters. I need to display and accept the data. In my search, I have discovered 2 keywords, within DDS that would seem to fit the bill. These words are CNTFIELD (continued field) and WRDWRAP. Bob Cozzi has posted an article about these 2 fields at http://www.mcpressonline.com/mc?50@xxxxxxxxxxxxxxxxx@.6b16d290 When I read this article, I pumped my fist in the air. This is exactly
what
I was looking for, but as usual, my glee was short-lived. These keywords
do
NOT work with sub-files. My question is as follows. Does anyone know of equivalent sub-file keywords? or Does anyone have a procedure applicable for a sub-file, that would do the same thing? Thanks in anticipation Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx
-- --------------------------------- Booth Martin http://www.Martinvt.com --------------------------------- -- 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 mailing list archive is Copyright 1997-2025 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.