Are you using PUTOVR by chance on the header of your screen on the DDS? If so, did you set OVRDTA attribute to your field?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of daparnin@xxxxxxxxxxxxxx
Sent: Friday, May 20, 2011 11:34 AM
To: midrange-l@xxxxxxxxxxxx
Subject: DDS field that refuses to update no matter what

I'm having a Friday afternoon senior moment. I'm thinking that I'm
missing a DDS keyword or something. I've got a promptable field in a
display file. I can press F4, the prompt window displays, and I select
the value. When I debug the RPG/Free code it shows that the variable has
the selected value. The problem is that when the program loops back to
the EXFMT statement the new value isn't in the field. Instead, it has the
default of zero. If I hit ENTER or a function key the zero is put into
the variable. Other than that, the screen looks just fine following the
prompt. I have the additional parameters set as:

Enhanced display . . . . . . . . *YES
Restore display . . . . . . . . *NO
Defer write . . . . . . . . . . *YES


Thoughts? We are at V5R4.


Dave Parnin

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.