Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 To: Shehzad Khan
  Where is Shehzad Khan?
 Mum
 India
 Shehzad Khan
 Tags
Subject: RE: TNS less Oracle Connection
Thread ID: 181442 Message ID: 181690 # Views: 20 # Ratings: 0
Version: Visual FoxPro 6 Category: ODBC, ADO and OLEDB
Date: Friday, July 04, 2008 6:31:45 PM         
   


> >
> >
> > TNS less Oracle Connection
> > --------------------------------------------
> >
Provider=OraOLEDB.Oracle;Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myHost)(PORT=myPort)))(CONNECT_DATA=(SID=MyOracleSID)(SERVER=DEDICATED)));User Id=myUsername;Password=myPassword;

> > Pete "the IceMan", from the Great White North of Canada.
>
> Thanks,
> Pete
>
> I can connect with ADO.Connection
> but thru SQLSTRINGCONNECT() is still a problem.
>
> Shehzad Khan

Of course, "Provider=OraOLEDB.Oracle" , that says it's an OLE DB string and we must use the ADODB.Connection object. VFP's SQL..() functions only do ODBC connectivity.

-Anders



COMPLETE THREAD
TNS less Oracle Connection Posted by Shehzad Khan @ 7/3/2008 10:07:19 AM
RE: TNS less Oracle Connection Posted by Anders Altberg @ 7/3/2008 11:28:34 AM
RE: TNS less Oracle Connection Posted by Cetin Basoz @ 7/3/2008 11:30:04 AM
RE: TNS less Oracle Connection Posted by Andy Kramek @ 7/3/2008 12:46:05 PM
RE: TNS less Oracle Connection Posted by Pete Sass @ 7/3/2008 4:47:50 PM
RE: TNS less Oracle Connection Posted by Shehzad Khan @ 7/4/2008 3:25:18 PM
RE: TNS less Oracle Connection Posted by Anders Altberg @ 7/4/2008 6:31:45 PM
RE: TNS less Oracle Connection Posted by Shehzad Khan @ 7/5/2008 9:33:26 AM
RE: TNS less Oracle Connection Posted by Anders Altberg @ 7/3/2008 7:57:20 PM