You could use ODBC to set up a DSN connection, test it and then use it. For
instance, you set up a DSN connection called 'myconnection'.
Then you can use thus:
nHandle = sqlstringconnect([dsn=myconnection;trusted_connection=yes])
if nHandle < 0
messagebox('Connection failed')
else
messagebox('Connected successfully')
endif
Rafael Copquin
----- Original Message -----
From: "W.N. Pew" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 04, 2009 12:33 PM
Subject: Connecting To SQL Server 2008
> Well, here I go again! This time with SQL Server 2008. Can anyone tell me
> how I can set up a DSN connection in Windows XP Pro to 2008 (Express). I
> figure (I hope) if I can get that far I should be able to use passthrough
> to
> work the database.
>
>
>
> Any help will be greatly appreciated!
>
>
>
> Bill
>
>
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/004101c9e536$01f507c0$6401a...@rafaelpc
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.