Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

When-Button-pressed triger raise exception ORA-302000

LuKKaSep 27 2010 — edited Sep 28 2010
Dear All
I am using Forms 10G.
I have used TEXT_IO for reading and Writing from flat files .
when i am testing in my PC it is working fine .
But when i Transfer my forms to Server the it is showing this error :-

When-Button-pressed trigger raise unhandled exception ORA-302000 .

What is the Problem ?

My code is like this :-


Begin

Select input_path,filetype into lpath,lfiletype
from TAB_PATH
Where Filetype = 'ABC';

Exception
When NO_DATA_FOUND then
msgbox('There is No File Path in the TAB_PATH Table ');
:loader.PERCENT := 'Loading Data UnSucessful';
raise form_Trigger_failure;
End;
If :global.filename <> lfiletype Then
msgbox('File Name Does Not Match');

:loader.PERCENT := 'Loading Data UnSucessful';
raise form_Trigger_failure;
Else


in_file := TEXT_IO.Fopen(:loader.filename,'r');

End If ;
-----
----
-------------
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2010
Added on Sep 27 2010
5 comments
12,869 views