Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upsizing DBF files
Message
 
 
To
16/01/2005 17:31:41
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00977631
Message ID:
00977646
Views:
34
Andrus,

If nothing else borrow some code from the wizard to help with the task.

It wouldn't be that hard to adir() your tables, loop through each onw USE it, afields() it and build a CREATE TABLE command that you can run via SPT.

Since you don't already have the tables in a DBC then you'll have a bit of work to build foreign key constraints.

You'll probably want to be more selective on the indexes you push up to SQL, what is there to make Rushmore work well won't necessarily be a good index for SQL.

>I have some hundreds of FoxPro 2 dbf,fpt,cdx files (free tables).
>
>I want to upsize database structures, indexes and data to SQL server.
>
>Is there any sample VFP code for this ?
>
>I looked into VFP Upsizing wizard but this requires dbc file.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform