David
Tue Jan 11 22:55:00 CST 2005
hmmmmmmmm let me see what I can go find on Doug's server... *wg*
df
"Rick Bean" <rgbean@unrealmelange-inc.com> wrote in message
news:%23e$ZAMB%23EHA.2596@tk2msftngp13.phx.gbl...
David,
I just took those statements from some sample code that Doug H. supplied at
the last DevCon. Are you suggesting that that's "bad form"? <vbg>
Rick
"David Frankenbach" <sendnospam@sendnospam.net> wrote in message
news:ONVR8q39EHA.1264@TK2MSFTNGP12.phx.gbl...
> Seve,
>
> excepting that you probably don't wand the sa login to actually be
> passwordless *s*
>
> gnSQLConnection = SQLSTRINGCONNECT( "driver={SQL
> Server};server=(local);database=test;trusted_connection=yes;" )
>
> will talk to the local instance of SQL. Or put your other machine name/ip
> in
>
> --
> df - Microsoft MVP FoxPro
http://www.geocities.com/df_foxpro
>
> "Steve Freides" <steve@fridayscomputer.com> wrote in message
> news:34g5f9F47q93cU1@individual.net...
>> Excellent - that should do what we need. Many thanks.
>>
>> -S-
>>
>> "Rick Bean" <rgbean@unrealmelange-inc.com> wrote in message
>> news:OtaJmh09EHA.3592@TK2MSFTNGP09.phx.gbl...
>> Steve,
>> lnHandle = sqlstringconnect('driver=SQL
>> Server;server=192.168.100.41;database=northwind;uid=sa;pwd=')
>> sqlexec(lnHandle, 'select * from orders')
>>
>> * <your code>
>>
>> sqldisconnect(lnHandle)
>
>