When-Button-pressed triger raise exception ORA-302000
LuKKaSep 27 2010 — edited Sep 28 2010Dear 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 ;
-----
----
-------------