Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND FROM - appending blank records only!
Message
De
07/04/2003 05:32:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00774613
Message ID:
00774614
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>Hi - I am attempting to append records from one table to another. I open the source table and copy structure to get my target table. Then I use this code...
>
>
>SELECT tblTarget
>APPEND FROM tblSource FOR myField = .T.
>
>
>This adds records but they are blank. Is it not supposed to copy the data from the source table to the target table where myField is true?
>
>Thanks

Yes and it does. However it might be that fieldnames are not matching though you think they do. Double check (One has longfield names while the other not ?)

BTW if you're creating a new Target why not use :

select * from tblSource where myField into table tblTarget

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform