property Tree.DetectAddNew as Boolean
Specifies whether the control detects when a new record is added to the bounded record set.

TypeDescription
Boolean A boolean expression that indicates whether the control detects when a new record is added to the bounded recordset

The DetectAddNew property detects adding new records to a recordset. Use the DataSource property to bound the control to a table. If the DetectAddNew property is True, and user adds a new record to the bounded recordset, the control automatically adds a new item to the control. The DetectAddNew property has effect only if the control is bounded to an ADO, ADODB recordset, using the DataSource property.