|
Thanks for the tip! I'll have to add that to my tool box. However, (now for the bad news), it doesn't work on really large fields: Message ID . . . . . . : CPD5313 Severity . . . . . . . : 30 Message type . . . . . : Diagnostic Message . . . . : SNGCHCFLD/MLTCHCFLD ending location too large. Cause . . . . . : The ending location is greater than the display size. Rob Berendt ================== Remember the Cole! "DeLong, Eric" <EDeLong@Sallybea To: "'RPG400-L@midrange.com'" <RPG400-L@midrange.com> uty.com> cc: Sent by: Subject: RE: Enter/edit a variable length field which may exceed owner-rpg400-l@mi screen si ze drange.com 03/20/01 09:54 AM Please respond to RPG400-L Rob, Have a look at CNTFLD in the DDS reference. http://publib.boulder.ibm.com/pubs/html/as400/v4r4/ic2924/info/db2/rbafpmst2 36.htm#HDRCNTFLD Eric DeLong -----Original Message----- From: rob@dekko.com [mailto:rob@dekko.com] Sent: Tuesday, March 20, 2001 8:12 AM To: RPG400-L@midrange.com Subject: Enter/edit a variable length field which may exceed screen size We have an application in which you USED to place an option 8 in front of a record and it would call EDTDOC, or some conglomeration thereof, and bring up OV/400's word processor and let you type notes to your hearts content. Well, now I want to replace the WP with a variable length field. The trick is that the field may be larger than the screen. DDS is too primitive to support this. One coworker suggested a subfile. However the thought of removing 5 words from the middle of a line and having to copy/paste the remaining rows to shift the text rather disgusts me. Just as vile as some of the steps I've gone through when modifying multi line comments in SEU. I am open to ideas. Is there something I am overlooking in DDS? Is there a UIM solution for this? Is there a Dynamic Screen Manager api function for this? Gee, in html all it would take is 1 line of code: <Textarea rows="20" cols="70"></textarea> Yes the thought crossed my mind about converting the whole durn thing to web but let's shelve that idea for now. Rob Berendt ================== Remember the Cole! +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.