Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Case for VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01561746
Message ID:
01562018
Views:
86
Likes (1)
I have rarely had table corruption. Application design makes a bigger impact. I'm not sure I understand your issue with this. The tables have to be open either way. With VFP ODBC, the driver opens the tables. It's still the VFP data engine inside. It still gets opened from the workstation, not the server. It really isn't any difference.


>Yes but using the local views causes VFP to open the tables - thus putting you at risk for what makes VFP not so great - possible table and index corruption. That alone makes using the remote views instead a better solution for me. Plus all you have to do is change a connection string to switch backends (assuming you designed all of your tables properly to begin with).
>
>So for me it's 3 lines of code to switch backends:
>
>llDataSourceSet = DBSETPROP('MyConnectionName', 'CONNECTION', 'DataSource', 'MyODBCname')
>llUserIdSet = DBSETPROP('MyConnectionName', 'CONNECTION', 'UserID', 'MyUserID')
>llPasswordSet = DBSETPROP('MyConnectionName', 'CONNECTION', 'PassWord', 'MyPassWord')
>
>
>What is the property change to switch local views to remote views and set the connection strings for them?
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform