substitute for form_success [message #225820] |
Wed, 21 March 2007 10:50 |
sachdeva_noor
Messages: 6 Registered: February 2007
|
Junior Member |
|
|
hi all,
I m working on an oracle form (10g) .
I have used Host() to execute some command. After which i m using Form_success to check if the Host is successful or not.
And i m using it on windows 2000.
AS i have read in the form help menu that 'Form_success' returns success,even if command is returning FAIL in windows 2000.
this problem is solved if i use windows XP.
But i dont have windows XP.
SO,can u please tell me some subsitute for 'Form_success'.
thank u !
|
|
|
|
Re: substitute for form_success [message #225914 is a reply to message #225863] |
Wed, 21 March 2007 22:58 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Can you use dynamic SQL instead of the script?
Can you set a flag in the database to 'failed' as the first part of your script and then reset it to 'okay' in the last part of the script and then test that value upon return to the form. You may need to pass your 'forms session id' to give you a unique key to be used by the script.
David
|
|
|