Read Text File from Forms 6i [message #85695] |
Wed, 21 July 2004 21:24 |
Atul P
Messages: 61 Registered: June 2003 Location: Mumbai-Jakarta
|
Member |
|
|
Hi all
I am using Forms 6i. I am trying to read data form a text file .
However in certain cases sometimes the text file is not available.
Then it gives some Error.
This error I want to catch.
E.g
My Command:
V_FILE = 'C:README.TXT';
NEW_FILE := TEXT_IO.FOPEN(V_FILE_NAME,'r');
Now when there is no file by this name then oracle will show some error.
I want to captur this exception and show my user friendly error as "FILE NOT FOUND IN LOCATION "
How can i do that .....
Regards
Atul p
|
|
|
|