|
Let's say they key in the number "2" and press Enter.
The program will assume four decimal places and divide by 10,000.
So far, still good.
If there are no errors or messages, the program will go back to the
first
screen and allow the user to select another record to be updated. But
if
there is an error or message (my message, not system message) the
program
loops around and does another EXFMT and the number shows up exactly as
they
keyed it in, ignoring any editing, even though the value is correct
(0.0002,
verified in Debug). I've tried an edit code and an edit word - neither
works.
The source that I see doesn't match the action that you describe. With a
numerically-defined field in the display file, the program will not be able
to determine whether the user entered a decimal point for integer cases. If
I enter 10.0000, that looks exactly the same coming into the program as 10
(no decimal point). That is unless of course, the rule works because
integer values are not acceptable?
Let's start with: are you sure that's what will happen, and are you sure
this is the right source?
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Success is going from one failure to another without losing enthusiasm."
-- Sir Winston Churchill
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.