Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving Old Table data to New Table File Structure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00385162
Message ID:
00386511
Vues:
25
>Hi Larry:
>
>The structure in the two tables are different. Newschd\Schd.dbf has addtional
>fields.

Then you probably have to go the SCAN...ENDSCAN route and transform your data.
Ex.
select oldtable
scan
   insert into newtable (field1, field2, field3) values (field2, field3, filed1)
endscan
Or set some variables within the loop and modify what you need.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform