Description

Returns a value from a Journal Object or its related objects.

Return Type

A Variant value.   The value being sought or EMPTY for failure.

Failure conditions:
* pdbnodeJournal is not accessible.
* ObjectFromJournalNode failure (mcdataOVSObjectWhenExists Or mcdataOVSObjectDirectWhenExists)
* ObjectFromJournalNode cannot create automation object (See McDataNodes::OpenEx()) (mcdataOVSMakeObjectExist)
* JournalToDatabase failure (mcdataOVSDatabase)
* McDataManager::GetDBNodeValue failure

Syntax

object.JournalValue (pdbnodeJournal, sValueName, eValueSource, [sMultipleValueDelim])

The JournalValue Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataJournal.
pdbnodeJournalRequired. A McDBNode object. A McDBNode reference that is a child of HistoryFolder.
sValueNameRequired. A String value. Specifies the name of the value.
eValueSourceRequired. A mcDataObjectValueSource enumeration, as described in settings. Identifies the source of the data relative to pdbnodeJournal.
sMultipleValueDelimOptional. A String value. [Not available at this time] Delimiter (defaults to vbNullChar) delimiting multiple values in sValueName..

Settings

The settings for eValueSource are:

ConstantValueDescription
 mcdataOVSObjectDirectWhenExists1

IDispatch property Get call on the raw object when it exists.

 mcdataOVSObjectWhenExists2

Object (through it's handler) when it exists.

 mcdataOVSJournal4

Journal Attribute.

 mcdataOVSDatabase8

Database Attribute.

 mcdataOVSMakeObjectExist4096

Attempt to Open the Object (hidden) when not already loaded.