Skip to Content
author's profile photo Former Member
Former Member

How to display an error message on screen?

Hi experts,

In screen painter, how to display an error message in the message area just below the screen?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Aug 27, 2008 at 01:05 PM

    hi,

    you do that in the source code (not in the screen painter), with the normal MESSAGE statement (like any other cases).

    hope this helps

    ec

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2008 at 01:07 PM

    hi,

    use

    message 'hello' type 's' display like 'e'.

    Edited by: Amit Gupta on Aug 27, 2008 3:07 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2008 at 01:29 PM

    hi wuyia,.

    Write like this;

    Message 'Process completed Successfuly' TYPE 'S'.
    Message 'Want to Overwrite Value' TYPE 'W'.
    Message 'Press enter to continue' TYPE 'I'.
    Message 'Invalid Input' TYPE 'E'.

    S - Success

    W - Warning

    I - Information

    E - Error

    You can adjust your GUI option to display the message in a Popup or in the status bar.

    Regards

    Karthik D

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2008 at 01:51 PM

    Define the message-id at the top of the code.

    Then use message type e for displaying error message.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.