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 |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
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