Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending one field only into another table sql statemen
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00580457
Message ID:
00580478
Views:
17
Hi Vlad,

I am now getting an "Operator/Operand type mismatch" How do I determine which fields are causing this error? The fields are of the same name, type and width so could it be something else?

>>Hi!

>>You cannot do this within a single statement.

>>"APPEND FROM" could not be part of the SELECT - SQL statement.

>>So, in your case this will look probably as following 3 commands:


>>Select tableA.field5 as fieldtotal ;
FROM tableA INNER JOIN tableB ;
ON tableA.namefield = tableB.namefield ;
WHERE tableA.datefield = tableB.datefield ;
into cursor crsTemp
SELECT MyTableForAppending
APPEND FROM dbf('crsTemp')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform