AutoReplace Property

Version: Available or changed with runtime version 1.0.

Sets whether imported records automatically replace existing records with the same primary key.

Applies to

  • Xml Port Table Element

Property Value

True if the records are replaced; otherwise, false. The default value is false.

Syntax

AutoReplace = true;

Remarks

If a record with the same primary key is found in the database, then the record is initialized with the initial value for each field and then populated with the values in the imported record. Any field in the record that is not present in the imported record retains its initial value. For more information about initial values, see InitValue Property.

Warning

If this property is set to true, then the AutoUpdate Property has no effect.

AutoUpdate Property
AutoSave Property