|
Thanks Kevin, This is the method we have decided to use. Unfortunately, it's just a cosmetic patch over this particular field's problem. Ours is a number-of-items field in an order entry screen and 1000001 items on the order does kinda stick out. Every other numeric field will still have the same problem. What we need is some method to lock a cursor in the field once the first character has been entered into it, so that the field exit keywords could control or at least display a keyboard error. If you enter the first number in a numeric field now, the Enter Key becomes disabled (You get a keyboard error and the cursor stays where it is. ). What controls that? The error occurs before the Enter is returned to the user program, so it must be workstation data management. That's the same action we need to have occur on the Tab and Arrow keys. Is there a "technical" reason why workstation data management couldn't recognize those keys too, and apply the same logic? > -----Original Message----- > From: Kevin Monahan [SMTP:kevin.monahan@hammett.com] > Sent: Wednesday, April 10, 2002 9:59 AM > To: rpg400-l@midrange.com > Subject: RE: FW: Keyword on DSPF entry field > > Back to the problem at hand..... > We had the same issue, and the only way we were able to handle it was by > program edit checks, basically looking for numbers that were possibly out > of > a set range or percentage (if the price of an order was $25.00 and the > freight was $1000010.00, we were pretty sure the user hit the tab key > instead of field exit). We then pop up an window asking if the freight > charge is correct. > There is no way (as far as we found) to tell otherwise. > > > Kevin Monahan > Sr Programmer/Analyst > JL Hammett Co > 781-848-1000 x1114 > www.hammett.com > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which maybe confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@lincare.com or (800) 284-2006. ************************************************************************************************************************************************************************************************************
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.