Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Future as a FoxPro Developer
Message
From
13/07/2004 10:59:55
 
 
To
13/07/2004 04:11:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00918302
Message ID:
00923736
Views:
53
Kevin,

>>I wonder if the PRG would give a different result if you did not have the USE statements, but instead included the path/filename (nameexpression) directly in the SQL (or SET PATH differently before the query for each office).
>>
>>When you said the SQL in the C# app was identical, did you mean that you were also issuing the same USE statements through the OLE-DB driver, or did the SQL statements in the C# app actually include the path/filename (or a SET PATH) for each iteration of the seven offices?
>
>The OLE DB driver was setup on that particular path, so you are right in that it opens the tables automatically.
>
>I tried your suggestion using the SET PATH and it was actually slower in VFP....

What about eliminating the USE statements by using (nameexpression) directly in the SQL (the other part of my suggestions in the first paragraph above)? Did you ever get a chance to check that approach?
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform