Home » Developer & Programmer » Forms » integrating query builder and forms 10g
icon13.gif  integrating query builder and forms 10g [message #125886] Wed, 29 June 2005 13:49 Go to next message
bsippy
Messages: 4
Registered: May 2005
Junior Member
when I call HOST('C:\oracle6i\bin\OBE60.EXE OWNERLIST=USER,DEVELOP,PRIME USERID=user/pwd@connect_string'); from the form

I get the following error
OBE-15387: Login failed
----
ORA-12222: TNS:no such protocol adapter


But when I open query builder directly it is working......I am using forms 10g and have installed 6i in a completly different home......any help would be greatly appreciated.
Re: integrating query builder and forms 10g [message #125895 is a reply to message #125886] Wed, 29 June 2005 16:04 Go to previous messageGo to next message
bsippy
Messages: 4
Registered: May 2005
Junior Member
Is there any other way to call query builder(obe60.exe) from forms?

Thanks in advance
Re: integrating query builder and forms 10g [message #125916 is a reply to message #125895] Wed, 29 June 2005 21:31 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I have never heard of query builder being called from a form. But that doesn't mean that someone else hasn't done it.

Do you have the same entries in both the 6i and 10g tnsnames.ora files?

Are you trying to call 6i Query builder from 10g form or 6i form?

David
Re: integrating query builder and forms 10g [message #125919 is a reply to message #125895] Wed, 29 June 2005 22:51 Go to previous messageGo to next message
bsippy
Messages: 4
Registered: May 2005
Junior Member
I am trying to call 6i query builder from froms 10g.


The interesting fact here is it works from the command line, ie if i put
'C:\oracle6i\bin\OBE60.EXE OWNERLIST=USER,DEVELOP,PRIME USERID=user/pwd@connect_string' in the command line, it works perfectly.

Also the host works for other executables. Example if i put host('notepad.exe') it opens up notepad too
Re: integrating query builder and forms 10g [message #125922 is a reply to message #125919] Wed, 29 June 2005 22:57 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Thought so, I expect that 10g will have super-defined some on the path statements when it was started. I believe that the host commands then run within this updated environment. You could try putting the 6i stuff in a 'bat' file and get that 'bat' file to show you the environment characteristics so that you can confirm this behaviour.

My rule of thumb is "don't mix environments" at run time.

David
Previous Topic: Questions in Form 6i builder
Next Topic: Serial No. in Data Block
Goto Forum:
  


Current Time: Fri Sep 20 10:24:55 CDT 2024