Home » Developer & Programmer » Forms » message from backend to front end (Oracle 10gR1/R2)
message from backend to front end [message #294539] Thu, 17 January 2008 23:40 Go to next message
rajiv.datta
Messages: 21
Registered: June 2007
Location: London
Junior Member

Hi guys,

Is there anyway by which we can send a message from backend to front end, i.e. from backend pl/sql to Forms 10g.

Thanks in adv.
Re: message from backend to front end [message #294554 is a reply to message #294539] Fri, 18 January 2008 00:05 Go to previous messageGo to next message
azamkhan
Messages: 548
Registered: August 2005
Senior Member
I would like to add in that, Is there anyway by which we can send a message from front to front end using Developer 6i. I dont want to use NET SEND utility of windows b/c it is OS dependent.

Regards,
Azam Khan
Re: message from backend to front end [message #294556 is a reply to message #294539] Fri, 18 January 2008 00:15 Go to previous messageGo to next message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

Just use 'raise_application_error' to raise message from backend. Catch this message by on-error trigger. Then display.
Re: message from backend to front end [message #294559 is a reply to message #294556] Fri, 18 January 2008 00:26 Go to previous messageGo to next message
rajiv.datta
Messages: 21
Registered: June 2007
Location: London
Junior Member

But if I use 'raise_application_error' the flow will end there itself, and I want to get messages, as it happens in forms without breaking the flow.
Re: message from backend to front end [message #294566 is a reply to message #294559] Fri, 18 January 2008 00:48 Go to previous messageGo to next message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

ok. Means you don't want this for error traping. It would be good if you can tell us, what actually you are trying to design? A contine message service from backend to front end?
Please give more informations.
Re: message from backend to front end [message #294588 is a reply to message #294566] Fri, 18 January 2008 01:32 Go to previous messageGo to next message
rajiv.datta
Messages: 21
Registered: June 2007
Location: London
Junior Member

I am looking for the same "A continue message service from backend to front end?”
As we do it in forms, like we can display the value of some variable in forms to pop up using message command I want the same for a backend variable values to be popped up in the front-end or if I give a message in the backend it should get displayed in the front-end

I hope no its clear. let me know if you have anymore queries.
Re: message from backend to front end [message #294601 is a reply to message #294588] Fri, 18 January 2008 02:33 Go to previous messageGo to next message
misragopal
Messages: 125
Registered: June 2005
Location: New Delhi, india
Senior Member

"A continue message service from backend to front end?” or "displayiny text on demand/call" both are different things with different logics. from Backend 'insert into table'. from frontend use TIMER to fetch and display value.
If this logic is not satisfying you then please give more clearity. How you executing from backend?what is message it is text or error? How you want to show in forms?

Re: message from backend to front end [message #295231 is a reply to message #294601] Mon, 21 January 2008 19:10 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Push the message into a package variable and when you return to the form it can see if the package variable contains anything. If it does, then it can 'message' it and then clear it.

David
Previous Topic: Saving a calculated field
Next Topic: subclass information question
Goto Forum:
  


Current Time: Fri Dec 09 21:06:52 CST 2016

Total time taken to generate the page: 0.10815 seconds