Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying records from one table to another in FPW 2.6
Message
From
19/03/1997 13:38:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Copying records from one table to another in FPW 2.6
Miscellaneous
Thread ID:
00024865
Message ID:
00024865
Views:
84
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
Next
Reply
Map
View

Click here to load this message in the networking platform