Hi all,
my requirement is display an errormessage that contains more than 3 lines of message.when i try to create an error message in mesage catalouge (message text) it is accepting only one line of message.
i have given remaining message in Explain field in message catalogue and saved .
but iam getting error message like message text and below that explanation msg
i have concatinated these two message but still iam getting in same format.
can any one help me on this issue
Thanks,
preethi
| Title | Under | Posted on |
|---|---|---|
| How to run nvision report through portal | PeopleSoft Technical | 08/31/2010 - 4:45am |
| Any1 here who can help? | PeopleSoft Technical | 08/31/2010 - 2:12am |
| How to create matrix layout | PeopleSoft Technical | 08/27/2010 - 2:22am |
| UnCaught C++ Exception | PeopleSoft Technical | 08/10/2010 - 9:05am |
why don't you use MsgGetText and MsgGetExplainText function to get the text you need into a string variable and then using messagebox to show it to the user.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
i have written the code as shown below
&str = MsgGetExplainText(25000, 251, "Message not found");
Error (MsgGet(25000, 251, "Message not found") | " " | &str);
but iam getting error message like
error compensation comp frequency has been changed,you must enter a proposed rate
you must enter a proposed rate
the message which i have given in explain text is coming two times.
first it is concatinated with message text in message catalogue and again below explanation is getting
this is sample error message i have given ,but my error message is too long
please let me know your comments
I thought the MsgGet function would display the Message & the Explanation? Not sure you need the MsgGetExplainText().
You can try this,
&sError = "Your longer error message here";
MessageBox(%MsgStyle_OK, "Error", 0, 0, &sError);
Return;
/Ashar
Thank you
Post new comment