Used to specify which table in a query is assumed to be the target for subsequent data-modification queries as a result of user incentive to insert, update or delete records.
property UpdatingTable: string;
Use the UpdatingTable property to specify which table in a query is assumed to be the target for the subsequent data-modification queries as a result of user incentive to insert, update or delete records.
This property is used on Insert, Update, Delete or RefreshRecord (see also TCustomMSDataSet.Options) if appropriate SQL (SQLInsert, SQLUpdate or SQLDelete) is not provided.
If UpdatingTable is not set then the first table used in a query is assumed to be the target.
All fields from other than target table have their ReadOnly properties set to True (if TCustomMSDataSet.Options )
With TCustomMSDataSet.CursorType UpdatingTable can be used only if TCustomMSDataSet.Options = False.