Does your display file use ERRMSG?
We had the same problem
Debug showed that the fields were in fact changing, but the display said otherwise
Talk about gremlins
That's when I discovered what happens with the use of ERRMSG
The DDS was changed. ALL the errmsg were removed and replaced with a message subfile
Not a hard thing to do, but because it was a large program, it took a long time
Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of daparnin@xxxxxxxxxxxxxx
Sent: Friday, May 20, 2011 1:34 PM
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
--
Nishikawa Cooper, LLC
(formerly Nishikawa Standard Company)
324 Morrow Street
Topeka, IN 46571
daparnin@xxxxxxxxxxxxxx
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.