×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Booth, this could be good provide that it does allow for say 55 will not delete the left most.,

--- On Thu, 9/4/08, Booth Martin <booth@xxxxxxxxxxxx> wrote:

From: Booth Martin <booth@xxxxxxxxxxxx>
Subject: Re: DSPF alpha field question
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Date: Thursday, September 4, 2008, 6:17 PM

Could you let them enter 5 & blank and then when you read the screen, do
an evalr ScrField = %trimr(ScrField) ?

Adam West wrote:
HI I have a 2 pos. alpha field but in reality it is only getting numbers.
I want to prevent them from not hitting the field exit key - eventually this
field will be used as numeric. So if they enter 5 and a blank that is 50 rather
than 05.

I could make it numeric and then back out i suppose but is there a way
besides that?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.