Not able to display error raised by RAISE_APPLICATION_ERROR from oracle [message #406513] |
Thu, 04 June 2009 06:29 |
prasi
Messages: 1 Registered: June 2009 Location: Nepal
|
Junior Member |
|
|
i am using oracle forms 10g with 10g database.i am running the forms through application server 10g.
i am trying to migrate from forms 6i to Oracle forms 10g which runs in IE.
i have a procedure written in database which raises a user defined exception using RAISE_APPLICATION_ERROR like
RAISE_APPLICATION_ERROR(-20013,'Please enter year BETWEEN '||TO_CHAR(vminyear)||' AND '||TO_CHAR(vmaxyear));
i have called this procedure from WHEN_VALIDATE_ITEM Trigger.
i am trying to display this message in IE.
for this i have used ON_ERROR trigger in forms but the message does not appear.
when running the form
this process works fine in forms 6i.but doesnot in 10g.
please help me.
|
|
|
|