|
Ken, Are you talking about a numeric field on a display screen? I'm not sure how stripping a field from a record relates to screen attributes unless you are reading from the screen. If so, set the input field to a 10 byte field and check for significant digits in the code. %CHECK('0' :field) will start from the left and find the first non-zero entry. HTH, Rick -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Shields, Ken Sent: Friday, February 04, 2005 2:29 PM To: Midrange Mailing LIst (E-mail) Subject: Variable numeric input length Hello gang... I have the task of stripping a numeric field from a record , the length of the field is either 6, or 7 or 8 or 9 or 10 numeric digits in length The SDA/greenscreen field entries, (unlike input boxes , and internal field definitions in applications like VB), generally specify a specific length for the field Does anyone have the code snippet to handle this type of variable input?, obviously an array process. If so, please fire it to me offline at kenshields@xxxxxxx TIA Ken Shields PPG Canada Inc Ph: 905 725 1144 (326) Fx: 905 433 8712 Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain legally privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
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.