Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning a connection name on the fly
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00451337
Message ID:
00451413
Views:
25
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform