"Could not reserve record" message [message #124823] |
Tue, 21 June 2005 13:14 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mihaimateiescu
Messages: 5 Registered: June 2005 Location: Bucharest
|
Junior Member |
![mihaimateiescu](/forum/theme/orafaq/images/yahoo.png)
|
|
Hi. I am a student from Romania and i have a question for you.
I made a small application using Oracle Forms6, and i would like to know if there is a way to change the message "Could not reserve record".
I only want that message to be displayed in romanian.
Is there a way to accomplish this?
Thanks a lot for your time.
Mihai
[Updated on: Tue, 21 June 2005 13:14] Report message to a moderator
|
|
|
Re: "Could not reserve record" message [message #124882 is a reply to message #124823] |
Wed, 22 June 2005 01:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
arobinson98
Messages: 8 Registered: June 2005
|
Junior Member |
|
|
There's a form level trigger you can use called ON_MESSAGE which allows a developer to code an action when a message occurs. In your case it would be to display a different message (in romanian perhaps) Here's a sample of code we use.
note - message_code 40400 is the code returned when a record is successfully saved.
DECLARE
msgnum NUMBER := MESSAGE_CODE;
msgtxt VARCHAR2(80) := MESSAGE_TEXT;
msgtyp VARCHAR2(3) := MESSAGE_TYPE;
BEGIN
IF msgnum = 40400 THEN
message('Changes Saved!');
END IF;
END;
|
|
|
|
|
|
|
|