The connection string looks correct to me and works fine if I replace your parameters with mine. Can you PING the server?
>hello group,
>
>This doesn't work. Says that the server doesn't exists or I don't have access
>neither are true.
>
>lcDSNLess="DRIVER={SQLServer};SERVER=255.255.255.64;UID=myuserid;";
>pwd=mypassword;Network=DBMSSOCN;DATABASE=test;"
>nhandle = sqlstringconnect(lcDSNLess)
>
>I can use a dsn connection with the ip address.
>
>Thank you
>Jim
--sb--