×
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.
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.