Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending only one field of recs. from one table to anot
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00579450
Message ID:
00579453
Vues:
29
This message has been marked as the solution to the initial question of the thread.
Select SomeField from TableA into cursor crsTemp NoFilter
select TableB
append from dbf('crsTemp')

>How can I append one individual fields of records from one table to another? If both tables contain names and dates that are exactly the same but I want to insert the only data from TableA.field1 into TableB.field1
>I am trying the following code but need help!
>
>SELECT TableA.amount ;
>APPEND FROM TableA ;
>WHERE TableA.somedate = TableB.somedate
>
>Thank you!
>Max
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform