InsertSibRecord method: Node class

Syntax

InsertSibRecord(NodeName)

Description

The InsertSibRecord method inserts a new record (as specified by NodeName) as a sibling node of the parent node executing this method. This method works only on trees that are Query Access Trees.

A node object associated with the new node is returned, otherwise this method returns Null.

Parameters

Parameter Description

NodeName

Specify an existing record name. This parameter takes a string value. This record must not already be a sibling node for the node executing the object (that is, a node can’t have the same record as a node more than once.)

Returns

A reference to the new node. If this method fails, it returns False.

Example

&NEWNODE = &MYNODE.InsertSibRecord("PERSONAL_DATA");