TSMVijay
asked on
Displaying Error Message (Without using Error Indicator Message)
Hello,
I need to display an Error Message in Display file but not using a display field's Error Indicator Option or Message files.
For Example: "File is updated" or "You are not authorized". It should come in the last line of display file. I can do this by highlighting a field. but what I need is just to show a message when the operation is done.
Please give your suggestions.
I need to display an Error Message in Display file but not using a display field's Error Indicator Option or Message files.
For Example: "File is updated" or "You are not authorized". It should come in the last line of display file. I can do this by highlighting a field. but what I need is just to show a message when the operation is done.
Please give your suggestions.
One option is to use an compile time array in the program. You can store all the messages such as 'File opened','user not authorized' etc in this array. In the actual logic you can look up the array to retrieve the corresponding text.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi TSMVijay,
Just a question, why did you aksked for a solution without a MSGF?
it works quit the same as a RTVMSG, unless you use fixed errornumbers in your DSPF.
Regards,
Murph
Just a question, why did you aksked for a solution without a MSGF?
it works quit the same as a RTVMSG, unless you use fixed errornumbers in your DSPF.
Regards,
Murph
What is wrong with a message file? it's the most easy way....
but there are other posibilities. depending on the situation...
tell me (us)) more and I (we) will advise :)
Regards,
Murph