Description

Find and updates the Database Node associated with the Journal Node.

Return Type

A McDBNode object.   A McDBNode referencing the (SUCCESSFULLY) updated Database McDBNode.
Failure Returns Nothing (FAILURE)..

Failure conditions:
* Invalid argument
* No associated Database McDBNode
* No access to the associated Database McDBNode

Syntax

object.UpdateDatabaseNode (pdbnodeJournal, eOverWrite, [bUpdateJournal])

The UpdateDatabaseNode Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataJournal.
pdbnodeJournalRequired. A McDBNode object. Journal Node associated Database Node.
eOverWriteRequired. A mcDataNodeOverwrites enumeration, as described in settings. Content to update.
bUpdateJournalOptional. A Boolean value. When True, the given Journal node will be updated from the live object or file content prior to copying to database.

Settings

The settings for eOverWrite are:

ConstantValueDescription
 mcdaton_NoOverwriteMakeNew0

Default: FALSE - Add new with all content and make new when instead of overwrite.

 mcdaton_Attributes1

add or overwrite attributes

 mcdaton_AttributesRemoveOld2

remove any existing attributes (prior to save)

 mcdaton_Data4

add or overwrite data

 mcdaton_DataRemoveOld8

remove existing data (prior to save)

 mcdaton_Icons16

add or overwrite icons

 mcdaton_IconsRemoveOld32

remove any existing attributes (prior to save)

 mcdaton_Categories64

add categories

 mcdaton_CategoriesRemoveOld128

remove any existing categories (prior to save)

 mcdaton_Children256

add children

 mcdaton_ChildrenRemoveOld512

remove any existing children (prior to save)

 mcdaton_RemoveOld682

Overwrite All

 mcdaton_All1023

Add or Overwrite all

 mcdaton_AllTrue-1

Legacy support. Same as mcdaton_All.