11-27-2007 11:57 AM
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.
11-27-2007 12:08 PM
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..
11-27-2007 11:58 AM
after error messge give STOP. command...
this will keep control in the current screen.
11-27-2007 12:08 PM
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..
11-27-2007 1:38 PM
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...