> Hello,
> Freinds
>
> I want to create a TNS-Less Oracle Connection from VFP
> i.e without creating orcale ServiceName in User Machine
>
> I have tried but it is not working
>
> ?SQLSTRINGCONNECT("Provider=MSDASQL.1;Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.10)(PORT = 1527)))(CONNECT_DATA =(SERVICE_NAME = ORADbc)));User Id=username;Password=pass;")
>
> Shehzad Khan
What you have tried is an OLEDB connection string (and I doubt it'd work with OLEDB too, you're using OLEDB provider for ODBC). SQLStringConnect (SPT) use only ODBC. Check
connectionstrings.com. You may find what you're looking for there.
Cetin Basoz