Description

Creates and returns a new McDataNodes Object.

Return Type

A McDataNodes object.   The created McDataNodes object. Failure Returns Nothing.
Failure conditions:
Both pDBNode and sFQNodePath are specified.
A new McDataNodes cannot be allocated.
A McDataNodeRef could Not be created for the path specified.

Syntax

object.CreateDataNodes ([vDBNodeOrFQNodePath])

The CreateDataNodes Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataManager.
vDBNodeOrFQNodePathOptional. A Variant value. [Empty] The Current will be set to the given McDBNode or fully qualified path (including the server).

Remarks

The returned reference is the only reference held on the new McDataNodes.
The newly created McDataNodes will retain a reference back to the DataManager until released.

An Attribute McDBNode may Not be used as Current. See Current for more information.

The Selection will have no initial entries.
When vCurrentPathOrMcDbNode is Empty, the Current will be set to Datamanager.Journal.HistoryFolder.
If it the Datamanager.Journal.HistoryFolder does Not exist then Current will be set to Nothing.

vDBNodeOrFQNodePath [Empty] The Current will be set to the given McDBNode or fully qualified path
including the server. Because a McDBNode may be renamed at any time (including while this
routine is executing), an ID path is recommended.