× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We do something similar but to avoid that we use the same field for both the
"Record Updated" and the error message, in addition we generally use *in99
for displaying the message and after each EXFMT, that indicator is turned
off and the value of msg is set to blanks.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Phil Kestenbaum
Sent: Monday, April 30, 2007 9:19 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Field not getting cleared while Displaying Error Message on
Screen

One thought comes to mind, maybe to reset #msg before the Exfmt.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of derek gonsalves
Sent: Monday, April 30, 2007 10:05 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: Field not getting cleared while Displaying Error Message on
Screen

Hi,

I have developed a new Maintenance Program. In this Program I have used
a
user defined field on the Main Screen #Msg to diaplsy the informational
messages as 'Record Added' 'Record Updated'.
This field is being cleared each time after the EXFMT of the record
fortmat.
Now when the user comes back after Updating a record, The messge is
diaplayed as 'Record Updated'. Now without Pressing Enter, if the user
enetrs invalid values and presses enter the error message is popped up(I

have used ERRMSG for the Error Messages), but the message 'Record
Updated'
still remains on the screen, though actually #Msg has been cleared and
its
value is Blank.
Any suggestions or help will be appreciated0.(I have attachecd Screen
Shots
and the code of the Main subroutine)

Thanks in Advance

Derek


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.