Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upsizing DBF files
Message
 
 
À
16/01/2005 17:31:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00977631
Message ID:
00977646
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform