Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy stru from SQl remote view
Message
From
04/08/2003 11:39:57
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Copy stru from SQl remote view
Miscellaneous
Thread ID:
00816517
Message ID:
00816517
Views:
72
How do I copy the structure of a remote view in a DBC to a new DBF in the DBC with long file names.

I have a remote view of an SQL table, I want to create a DBF with the same field names, but the SQL table has long field names.

I thought I could use :



OPEN DATABASE XX.dbc
Use xxsqlremote_view && defined in dbc
Browse &&works fine and I see all data
COPY STRUCTURE TO new.dbf database XX.dbc && seems to work
Use new &&should be structure of SQL remote view but does NOT work

This always gives me an error saying :

xx.dbc Cannot link table new.dbf to this database: duplicate or missing fields. Would you like to try to locate owning database or delete the link (and free the table)?
Next
Reply
Map
View

Click here to load this message in the networking platform