Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From a record of a table to another
Message
De
13/10/2007 09:09:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01260800
Message ID:
01260807
Vues:
9
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform