See
http://fox.wikis.com/wc.dll?Wiki~VFPCommandSQLStringConnect. Also check
Re: SQL Connection Error Message #
835711>i m using the following syntax to connect sql database
>
>lcDSNLess="driver = SQL Server;server=xyz;uid=nishi;pwd="
>test=SQLSTRINGCONNECT(lcdsnless)
>
>but when i execute this code it shows dialog box to select DSN name ; i dont want to show this window . may i get the proper syntax to make dsnless connection.
>
>
--sb--