dhruv_x0
14th July 2011, 12:17
Dear all,

I am facing a problem regarding display of messages.

I am executing a session, on pressing form command, it execute multiple functions and in each function it is validating some condition..

When it enters into first function.....a message should be displayed and should be closed without any user intervation....when it reaches to second function....a second message should be displayed which will again close automatically and so on......


I am not finding any way to close that message without pressing "OK" button.


Is there any way to do it??

Suggestions are welcomed
Thanks

rahul.kolhe22
14th July 2011, 13:41
Hi,

I would suggest you to use the Progress Indicator in such situation.

In that case you can even refer the programmers guide for the sample program (http://www.baanboard.com/programmers_manual_baanerp_help_functions_progress_indicators_example) of it.

Regards,
Rahul

abattoir
14th July 2011, 15:03
Modify your mess syntax from:-

mess("pcgen00016",1,e,filename$) | Prompt for ENTER
mess("pcgen00016",0,e,filename$) | Display message and continue
| (if there is a current form)

dhruv_x0
15th July 2011, 12:25
Thanks rahul..

Yor idea of progress indicator worked.


Dear abattoir...your idea worked too but query execution is so fast that it was not readable.

Anyways thanks for your quick responses.

mark_h
15th July 2011, 15:15
Modify your mess syntax from:-

mess("pcgen00016",1,e,filename$) | Prompt for ENTER
mess("pcgen00016",0,e,filename$) | Display message and continue
| (if there is a current form)

Try using a pause after the message, like suspend(1000). See if that keeps the message on the screen longer.