HowTo update *renamed* fields?
Posted: Sun 15 Feb 2009 15:25
TMyQuery renames fields if they are identical in two tables:
doesn't really help because subsequent update operations raise an exception: "Field ID_1 cannot be found in T2".
Workaround, if all fields from both tables (SELECT *) are required?
SettingT1.ID, T2.ID => QueryFields: ID, ID_1;
Code: Select all
Query->UpdatingTable = "T2";Workaround, if all fields from both tables (SELECT *) are required?