|
That's actually not what I was thinking, but it would work. I was working within the confines of an existing note database (likely a note header and note detail) if you support multiple notes or just note details if your "notes" are simply one big block of text. In either case the data is stored in the existing notes tables and it's basically broken apart using substring into 75 byte chunks (or whatever your size is) on write. On read it's concat'ed tgether and put back into the textbox. In one case we even prepended "***From Web***" to the note so green screen users understood why it was broken at the points it was. Of course, you could also do logical word-breaks, it's really not hard. -Walden ------------ Walden H Leverich III President Tech Software (516) 627-3800 x11 (208) 692-3308 eFax WaldenL@xxxxxxxxxxxxxxx http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx] Sent: Tuesday, May 27, 2003 2:35 PM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] Fwd: Re: Maintaining "Notes" in an application I believe that I understand. Instead of a notes file like BPCS' ECN file (which has four keys: note type, customer or order number, ship to number or order line number, note number), with a single fixed length for each line of notes you have one varying length field. And html handles this quite nicely with the text keyword. No, I don't believe that 5250 has anything this flexible. Be prepared to replace 1 line of code with a hundred or more. Or rethink why you need access to this field with a 5250 application. (Been there, have the scars.) Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Walden H. Leverich III" <WaldenL@xxxxxxxxxxxxxxx> Sent by: web400-bounces@xxxxxxxxxxxx 05/27/2003 12:10 PM Please respond to Web Enabling the AS400 / iSeries To: "'Web Enabling the AS400 / iSeries'" <web400@xxxxxxxxxxxx> cc: Fax to: Subject: RE: [WEB400] Fwd: Re: Maintaining "Notes" in an application >If I understand properly, the idea here is to set the text >box size the same width as the record length and let the >users manage it. Nope, Sorry for the confusion. The idea is that for a "note" you provide the user with a single textbox. If they are viewing the note from the browser then the note looks fine, however if they are viewing it from the green screen then the note is broken into multiple lines of 75 bytes (or whatever fits on your screen) and words may wrap. Make sense? -Walden ------------ Walden H Leverich III President Tech Software (516) 627-3800 x11 (208) 692-3308 eFax WaldenL@xxxxxxxxxxxxxxx http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) -----Original Message----- From: Tom Jedrzejewicz @ San Pedro [mailto:TJedrzejewicz@xxxxxxxxxxxx] Sent: Wednesday, May 21, 2003 12:57 PM To: web400@xxxxxxxxxxxx Subject: [WEB400] Fwd: Re: Maintaining "Notes" in an application Greetings, and thanks so far . . This message is a compilation response to several posts. I was actually hoping that someone would tell me that CGIDEV2 or Cozzi's tools or Brad's tools have some functions to do the word wrap/parsing for me! "Walden H. Leverich III" <WaldenL=2B5fPzThJ4VnIoaKPxTklg@xxxxxxxxxxxxxxxx> wrote in message news:<036AA74C3CCBD243BB9D2754AC6F939914FDB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx .net>... > I'd go with the textbox approach. We've done it in several different cases > and in each we've been able to make the decision that the green-screen notes > were "Secondary" to the browser based ones and as such we've avoided the > need to word-wrap. We figure that the humans are smart enough to word wrap > on their own. However, word wrapping isn't all that hard. > If I understand properly, the idea here is to set the text box size the same width as the record length and let the users manage it. This may actually be the first cut solution. "Rick Rauterkus" <ricker=dEhpIGnVy/33oGB3hsPCZA@xxxxxxxxxxxxxxxx> wrote in message news:<1711576556.20030521075006@xxxxxxxxxxxxx>... <<snip>> > > Is this what you are looking for: > > DDS Reference: Display Files > > BLKFOLD (Blank Fold) keyword for display files > > Use this field-level keyword for named, output-only fields (but not > message or program-to-system fields) that are defined so that they > overflow onto subsequent display lines. The keyword causes folding to > occur at a blank in the data rather than at the end of the display > line. It is used to make long text fields easier to read. The default > is for the data to be folded at the end of the physical line. > I am trying to avoid modifying the database or the existing green screen application. This is a great idea for any new files/applications however. It appears that it makes a green screen output field appear like a text box. >>> <Mike_Shumaker/SCI@xxxxxxxxxxxxxxxxxx> 05/20/03 12:11PM >>> > (a) Link your green screen application to an internet view and then > everybody is looking/maintaining it with a web look and feel. Kind of > inconsistent, but it works. > (b) Use WRDWRAP and CNTFLD instead of subfile processing. There are some > limitations with this method, but it works good if your "notes" can all fit > on one screen. Same comments as to Rick - I am trying to avoid changing the existing program and the database. Thanks again to all. THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, downloading, storing or forwarding of this communication is prohibited. If you have received this communication in error, please notify us immediately via email and delete the message from your computer files and/or data base. Thank you. _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
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.