How to Trap the Error, when NETWORK is down. [message #120329] |
Thu, 19 May 2005 03:14 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
karthi
Messages: 42 Registered: December 2000 Location: B'lore
|
Member |
![oracle_forms_9i](/forum/theme/orafaq/images/yahoo.png)
|
|
Hi All,
ON-Error Trigger works, when database is down.
Whts my doubt is...
If network is down while starting the Form or on the half, then how to trap tht error and give error message to user...tht "Network is Down".
I want to access a file "userlog.fmx", which is located in Server Machine. Now the network is down, so if I try to access the file, it gives the error "FRM-40010:Cannot read from userlog.fmx", because now network is down or I lost the network connection. I want to trap this Network Error and to give user Error...How to do this...? Thankx
bye
karthi
|
|
|
Re: How to Trap the Error, when NETWORK is down. [message #120332 is a reply to message #120329] |
Thu, 19 May 2005 03:22 ![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) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Write in the user manual that if you get the message "FRM-40010:Cannot read from userlog.fmx" then the network is probably down. They will probably notice that their email and a couple of other applications are also not working.
Alternatively, create a local machine script that encapsulates your forms startup and this script checks to make sure that the network is available. But if _that_ script is on the network which is down then you are back to the user manual solution.
David
[Updated on: Thu, 19 May 2005 03:24] Report message to a moderator
|
|
|
|
|