Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Case for VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01561746
Message ID:
01562018
Vues:
85
J'aime (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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform