LinkTableForceInsert Property
Version: Available or changed with runtime version 1.0.
Sets whether data from the linked table is forcibly modified or inserted into a table to prevent an error from being generated.
Applies to
- Xml Port Table Element
Property Value
True if you want to forcibly insert or modify data; otherwise, false. The default is true.
Syntax
LinkTableForceInsert = false;
Remarks
This property works in combination with the LinkFields Property and the LinkTable Property.
Setting this property to true will forcibly insert or modify data from the linked table and run the OnAfterInitRecord Trigger on the main table.
This feature is useful if you have a header to line relationship in your XML document. The table and the header information must be inserted before you can insert the line information. As a result, you can use this property to ensure that the header information is inserted before the XMLport starts reading the line information.