|
message: 1screen
date: Fri, 24 Apr 2020 13:01:55 -0400
from: John Yeung <gallium.arsenide@xxxxxxxxx>
subject: Re: Handling zeroes typed by user on DDS screen
I'm trying to figure out if it is possible to have decimal field on dds
which shows nothing(blanks) on it but if user type 0(zero), it will staythere
after pressing enter. With EDTCDE(4), field is empty because of zeroenter and I
supression but if I will type 0 there, it will disappear after pressing
would like it to stay if user typed it there.Words.
It is not possible to achieve that result with any of Edit Codes or Edit
Unfortunately, option indicator can't be used on both EDTCDE and EDTWRD.to
I wanted to avoid making this field character and later validation char
valid decimal format.the
Personally, I think having the field defined as character and then doing
extra processing in your RPG program is the most obvious andis
straightforward method to do what you are asking. I understand that this
annoying, but I think this way makes it clear what you are trying to do.have
Since you had the idea to put indicators on EDTCDE or EDTWRD (which you
found out isn't allowed), you might try adjusting that idea so that you
indicators on entire fields, which happen to be at the same place (exactly
overlapping) on the screen. You can then use different EDTCDE values (or
whatever) on those different fields.
John Y.
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.