Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Old Table data to New Table File Structure
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00385162
Message ID:
00386511
Views:
23
>Hi Larry:
>
>The structure in the two tables are different. Newschd\Schd.dbf has addtional
>fields.

Then you probably have to go the SCAN...ENDSCAN route and transform your data.
Ex.
select oldtable
scan
   insert into newtable (field1, field2, field3) values (field2, field3, filed1)
endscan
Or set some variables within the loop and modify what you need.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform