Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM - appending blank records only!
Message
From
07/04/2003 05:32:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00774613
Message ID:
00774614
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform