Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error message

Former Member
0 Kudos

Hi All,

I have written the code in TMG events and raising an error message for a certain condition. When ever the error message is triggered it is going to the initial screen of TMG. But i need to get the error message in the same screen. So that i can edit the entries.

Can anybody please tell me how to get the error message in the same screen.

Regards,

Vasu.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

try like this....


MESSAGE s121(z1) DISPLAY LIKE 'E'.
"displays error in status bar but will be in red color and it won't let you out of current screen..

3 REPLIES 3

Former Member
0 Kudos

after error messge give STOP. command...

this will keep control in the current screen.

Former Member
0 Kudos

hi,

try like this....


MESSAGE s121(z1) DISPLAY LIKE 'E'.
"displays error in status bar but will be in red color and it won't let you out of current screen..

0 Kudos

Hi,

I tried with both the screnarios. If i tried with MESSAGE s121(z1) DISPLAY LIKE 'E'. It is not giving any error message and it is saving with out giving any error. If i use STOP it is going to dump.

Can any body give any other suggession how to display the error message in the same screen with out going to initial screen.

Regards,

Vasu...