BatcMove problems
Posted: Mon 22 Jul 2013 08:43
Hello!
I have problem with working BatchMove.
Let say I have two identical tables (MySQL).
Table1; ID (autonumber); field1; field2; field3; field4
Table2; ID (autonumber); field1; field2; field3; field4
How does this AppendUpdate works? When it recognize that is a new record or it's an old record need for update?
Is the Field1 that must be the same in both tables, than the system will update the record?
Does other filed play any role in this process?
Best regards,
Matija
I have problem with working BatchMove.
Let say I have two identical tables (MySQL).
Table1; ID (autonumber); field1; field2; field3; field4
Table2; ID (autonumber); field1; field2; field3; field4
Code: Select all
BatchMove.Mode := bmAppendUpdate;
BatchMove.Source; SELECT field1, field2 FROM Table1
BatchMove.Destination; SELECT field1, field2 FROM Table2
BatchMove.Execute;
Is the Field1 that must be the same in both tables, than the system will update the record?
Does other filed play any role in this process?
Best regards,
Matija