|
Ron, Define your screen input field as one long field using the continuous entry keyword. (Can't remember the keyword.) You can do this in DDS for the Display file. Write the one field to the data base as your varying length and let the workstation controller format it for the screen. Check out the DDS manual. This worked back on V3R2 and maybe earlier. It allows for word wrap and inserting into the middle wrapping the text for you. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 *Note to Recruiters Neither I, nor anyone that I know of, is interested in any new and/or exciting positions. Please do not contact me. -----Original Message----- From: Klein Ron [mailto:ron.klein@brctsg.com] Sent: Monday, February 07, 2000 6:40 AM To: 'MIDRANGE-L (E-mail) Subject: Text editiing Hi All, We have a program with which we edit a varying length field and when we place this field in the file we add a tilde at the end of each line that is displayed. On the screen we show this field as a 30 character field. When we load this field we add a tilde whenever the user hits enter on the screen or every 30 characters whichever is smaller. So in our file we would have something like this:This is the time for us~to fix this problem the in the r~ight way.~ We need to figure out a way for the text to shift on a blank space and move it to the next line. Does any one have a procedure or maybe a c runtime procedure or advise on how I should go about doing this. TIA Ron +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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-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.