Description Called by AddToNode member of McDataNodes after adding each McDBNode.
Syntax
Private Sub object_BeforeAddNode(pnoderefSelected, pmcdbnodeNewParent, eAddMethod, bCancel)
The BeforeAddNode Event syntax has these parts:
|
| object | A McDataManager object. | | pnoderefSelected | A McDataNodeRef object. The 'Selection' McDataNodeRef containing the McDBNode to be added. | | pmcdbnodeNewParent | A McDBNode object. The proposed new McDBNode parent. | | eAddMethod | A mcDataNodeAddMethods enumeration, as described in settings. The parent linkage method to be used. | | bCancel | A Boolean value. Assign to True to disallow this operation. |
Settings The settings for eAddMethod are:
 | mcdatnam_Use_Setting | 0 |
No value; use the default method.
|
 | mcdatnam_Alias | 1 |
Make a dependancy type link with a new name to the supplied node (children are inherited).
|
 | mcdatnam_ShareData | 2 |
Make a link with a new name directly to the supplied node's data (children are Not inherited).
|
 | mcdatnam_Copy | 3 |
Make a new McDBNode with a new name and an unsynchronized copy of the supplied node's data.
|
 | mcdatnam_CopyQueryResults | 4 |
Copy links when the destination database is the link target otherwise mcdatnam_Copy.
|
|