Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append data from FPD26 Tabels
Message
 
 
To
23/05/2005 23:09:28
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016952
Message ID:
01016953
Views:
7
This should get you started
CLOSE DATA
DIMENSION laTableLIst[1]
m.folder2 = ADDBS(m.folder2)
m.folder1 = ADDBS(m.folder1)
= ADIR(laTableLIst, m.folder2 + "*.dbf")
FOR i=1 TO ALEN(laTableLIst,1)
  USE (m.folder2 + laTableLIst[i,1]) EXCLUSIVE
  ZAP 
  APPEND FROM (m.folder1 + laTableLIst[i,1])
  USE
ENDFOR
>
>I have two folders as
>
>folder1= contains FPD26 tables
>folder2= contains VFP6 tables
>
>The tables in both folders have same names and fields.
>
>I want following steps
>
>1- Zap all tables from folder2
>2- Append data from folder1
>
>I want to use APPEND instead of COPY.
>
>Please help me
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform