Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append a SDF string to table?
Message
 
 
To
15/10/1999 22:52:25
Ru-Chuan Lu
Retail Workshop
Shanghai, China
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00276221
Message ID:
00277253
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform