Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DSNLess
Message
From
21/11/2007 17:16:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
21/11/2007 17:13:47
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01270586
Message ID:
01270589
Views:
30
Joel,

Use the SQLStringConnect() function to create connections, or the CONNSTRING clause when using remote views.

Check out http://fox.wikis.com/wc.dll?Wiki~VFPCommandSQLStringConnect for further details.

A good idea is to encrypt the connection string into an ini file or similar so you can have a different one at each site. It also means you can include a View-only DBC inside your app if you use remote views.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform