Home » Developer & Programmer » Forms » substitute for form_success
substitute for form_success [message #225820] Wed, 21 March 2007 10:50 Go to next message
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 #225863 is a reply to message #225820] Wed, 21 March 2007 15:25 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Upgrading from Windows 2000 to XP is not an option, I presume?
Re: substitute for form_success [message #225914 is a reply to message #225863] Wed, 21 March 2007 22:58 Go to previous message
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
Previous Topic: Customized LOGON Form
Next Topic: Same form working in one database and not working in another database
Goto Forum:
  


Current Time: Thu Dec 05 13:33:54 CST 2024