Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append a SDF string to table?
Message
 
 
À
15/10/1999 22:52:25
Ru-Chuan Lu
Retail Workshop
Shanghai, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00276221
Message ID:
00277253
Vues:
33
What I'd do in this case is create 10 temp cursors each with the appropriate structures including the flag, APPEND TYPE SDF into each cursor from the files and then scan the cursors adding, updating or deleting from the real tables.

>They are about 10 tables in a database, which data all come from SDF format files. Besides necessary data, at the head of every line, there is a flag character,
>
>A, for add, which mean whole line data, of couse except flag character, will be added into correponded table;
>U, for update, replace existing record;
>D, for delete, erase existing record;
>
>In every SDF format file, there are possibility to hold above 3 lines in the same time, and the lines are about handreds or thousands, that is my question come from.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform