|
Hi,--
I'm trying to figure out if it is possible to have decimal field on dds screen which shows nothing(blanks) on it but if user type 0(zero), it will stay there after pressing enter. With EDTCDE(4), field is empty because of zero supression but if I will type 0 there, it will disappear after pressing enter and I would like it to stay if user typed it there.
It is not possible to achieve that result with any of Edit Codes or Edit Words. Unfortunately, option indicator can't be used on both EDTCDE and EDTWRD.
I wanted to avoid making this field character and later validation char to valid decimal format.
Thing is I have few fields (different length and decimal places) and I want them to be blank and if user type 0, this field will be set to 0 but if user leave it blank, it will be ignored.
Filip Drzewiecki
RPG Developer
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.