Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From a record of a table to another
Message
From
13/10/2007 09:09:50
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01260800
Message ID:
01260807
Views:
7
This message has been marked as the solution to the initial question of the thread.
>How can I do as below ?
>
>Use table2
>
>append from table1 for table1.recno () = table2.recno ()

No, table2.recno() and table2.recno() are illegal calls. Anyway, I suggest that you ignore record numbers except if you work with cursors. If you later want to update your application to a "real" data engine, like SQL server, record numbers simply does not exist. You should ALWAYS have a field in your tables with unique values for each record. It's this unique field that I called uniqid earlier.
Previous
Reply
Map
View

Click here to load this message in the networking platform