Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SQL Server without using *any* VFP table
Message
From
10/02/2005 02:47:25
Walter Meester
HoogkarspelNetherlands
 
 
To
09/02/2005 09:27:41
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00985130
Message ID:
00985453
Views:
23
Hi Fernando,

Can you explain why you cannot use dbfs and DBCs?

What I usually do is to create a project with a DBC contaning remote views and dbfs with meta data and INCLUDE that into the executable. So the end product is only the executable, you don't have to deliver DBCs and DBFS, but in fact you are using them since they are IN the executable.

I use remote views for data entry forms, and mainly SPT for queries and populating drow down combos. RVs have the advantage they can automatically change datetimes into date. With SPT you'll have to jump through some hoops to solve that problem. I use a connection string (SQLSTRINGCONNECT()) stored encrypted in a SQLconnect.TXT file in order to connect to the database. In VFP8 and later you can open a view with the connection handle retrieved from SQLSTRINGCONNECT().

HTH,

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform