Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning a connection name on the fly
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00451337
Message ID:
00451413
Vues:
26
You can achieve what you want by using SQLStringConnect and SQLExecute. Then use CursorSetProp to make the result set behave the way you like. It's more programming than using views but gives you a lot more flexibility, too.

>I am connecting to an Access database through ODBC. I have remote views setup inside a standard VFP database.
>
>My question is, is there a way to change the connect name on the fly. There doesn't appear to be a way to to this as the name is stored in the DBC and the 'ConnectName' option within dbsetprop() is a read-only property.
>
>Many thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform