Home » Developer & Programmer » Forms » call sqlplus from a button, while passing pwd. etc
call sqlplus from a button, while passing pwd. etc [message #80183] Tue, 20 August 2002 10:16 Go to next message
Tyler
Messages: 123
Registered: January 2002
Senior Member
hello all,

I am trying to open sql*plus when a button is pressed, I have tried using the line of code...

sqlplus name/pwd@db

when compiling, it seems to error on "name" and say encountered "name" when expecting :=,(@

I also tried assigning the command line to a variable to run it like that, but this didn't work either... any suggestions?

Thanx
T
Re: call sqlplus from a button, while passing pwd. etc [message #80194 is a reply to message #80183] Wed, 21 August 2002 22:34 Go to previous message
mani
Messages: 105
Registered: September 1999
Senior Member
Hi you can use like this in when-button-pressed trigger

message('Calling SQLPLUS',no acknowledge);
synchronize;
host('C:ORANTBINPLUS33W.EXE -S username/password@connect_string @your_script_path');

hope am clear..
Mani
Previous Topic: Saving changes post-item
Next Topic: Variable in a message
Goto Forum:
  


Current Time: Fri Sep 24 05:09:56 CDT 2021