Home » Developer & Programmer » Forms » message
message [message #79965] Tue, 30 July 2002 02:07 Go to next message
mani
Messages: 105
Registered: September 1999
Senior Member
Hi,
i want a message pop-up in my application.so i have used the following code,
message('Effective Date must be entered',ACKNOWLEDGE);
synchronize;

but am getting this message only in status bar.so i removed synchronize statement...no effect at all...

what can i do????
thanks in advavance
mani
Re: message [message #79978 is a reply to message #79965] Tue, 30 July 2002 19:51 Go to previous messageGo to next message
Shilpa
Messages: 59
Registered: November 2001
Member
Write the statement twice like this:

message('Effective Date must be entered',ACKNOWLEDGE);
message('Effective Date must be entered',ACKNOWLEDGE);
Re: message [message #80013 is a reply to message #79965] Fri, 02 August 2002 03:34 Go to previous message
Zoran Peca
Messages: 10
Registered: May 2002
Junior Member
Hi Mani,

Maybe you have a better solution. Instead of duplicating messages, you can write your message in the first Message command and in the second just give a blank string, to force the first message to show up. You can creat a small procedure for manipulating messages in this manner:
PROCEDURE MSG (cText IN VARCHAR2) IS
BEGIN
Message(cText, ACKNOWLIDGE);
Message(' ');
END MSG;

Now, whenever you want to say something to the user, just call this procedure. Eg.
BEGIN
(some code)
MSG('Effective Date must be entered');
(some code)
END;

Best regards,

Zoran
Previous Topic: Page Up/Page Down
Next Topic: Help needed urgently,Question on format mask
Goto Forum:
  


Current Time: Thu May 09 08:49:38 CDT 2024