Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying records from one table to another in FPW 2.6
Message
De
19/03/1997 13:38:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Copying records from one table to another in FPW 2.6
Divers
Thread ID:
00024865
Message ID:
00024865
Vues:
88
I have a routine that copies records from one table to another. Sounds simple, but when APPEND is used, the size of the tables exceeds the available memory and cause a Stack Fault.

I rewrote it so that the records write over existing records (based on matching criteria) using SCATTER MEMVAR and GATHER MEMVAR and use a INSERT - SQL if more records are needed. The problem is that this takes a long time. I can watch the records being written over. The matching criteria is by State and if I have a lot of states to copy, it is painful. (Even one state is painful.)

Anyone have any better ideas?

Sarah
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform