Description

called by McDataNodes.AddObject prior to each McDBNode creation.

Syntax

Private Sub object_BeforeAddNodeObject(pnoderefCurrent, pUnknown, eStorage, bCancel)

The BeforeAddNodeObject Event syntax has these parts:

PartDescription
objectA McDataManager object.
pnoderefCurrentA McDataNodeRef object. The 'Current' McDataNodeRef containing the parent to be.
pUnknownAn IUnknown object. The Object being added.
eStorageA mcDataNodeStorageMethods enumeration, as described in settings. The storage mode to be used.
bCancelA Boolean value. Assign to True to disallow this operation.

Settings

The settings for eStorage are:

ConstantValueDescription
 mcdatnsm_NotSpecified0

No Value. Use default value specified to the database type.

 mcdatnsm_StoreFilepath65536

Store the filename of a file (file must be already saved)

 mcdatnsm_StoreFileData131072

Save the data in the database

 mcdatnsm_StoreCopyFileName262144

Save to a database managed file and store filename in database

 mcdatnsm_All458752

Not a valid value. Use for bit mask of possible values.