Share via


LinkTableForceInsert Property

Sets whether data from the linked table is forcibly modified or inserted into a table to prevent an error from being generated.

Applies To

XMLports

Property Value

Yes if you want to forcibly insert or modify data; otherwise, No. The default is Yes.

Remarks

This property works in combination with the LinkFields Property and the LinkTable Property.

Setting this property to Yes 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.

See Also

LinkFields Property
LinkTable Property