Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why in Earth this doesn't work?
Message
From
12/06/2001 03:26:33
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
11/06/2001 23:29:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00518203
Message ID:
00518229
Views:
11
This message has been marked as the solution to the initial question of the thread.
Hi Ulises the FOR statment is used to evaluate in the destination table and not in the source table. If you want to do this way try the following
SELECT * FROM table_b WHERE FIELDX INTO CURSOR mycursor
SELECT table_a
APPEND FROM DBF('mycursor')

>A command as simple as:
>
>Select TABLE_A
>Append from TABLE_B FOR FIELDX=.T.
>
>it appends all records, not only FIELDX=.T.
>FIELDX in TABLE_B is a logical field.
>
>I tried also
>
>Append from TABLE_B FOR TABLE_B.FIELDX=.T.
>
>Same result.
>
>Why things apparently so simple are sometimes so complicated?
>
>TIA for your time.
>
>Ulises
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform