Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to ALIAS a CA the same as its VFP table?
Message
From
03/12/2006 13:58:07
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01174105
Message ID:
01174492
Views:
10
>If you use DataSourceType = [NATIVE]
>You can't alias CA as VFP table name, because you always will get Alias already exists error, but if you use ADO as DataSourcetype you could ALIAS CA as you want.

"You can't alias CA as VFP table name, because you always will get Alias already exists error"
is a mighty strong statement and probably untrue <bg>

Haven't tried it with a CA and a native table, but when working with local views I HAD to xreate a view with the same name as the base table (alias in "mangled" form occuring in code and macros) and was able to hack it using the database events. Might work here as well <bg>.

regards

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform