Application Development and Automation 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: 
Read only

Error message

Former Member
0 Likes
634

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
Read only

Former Member
0 Likes
531

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
Read only

Former Member
0 Likes
531

after error messge give STOP. command...

this will keep control in the current screen.

Read only

Former Member
0 Likes
532

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

Read only

0 Likes
531

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