CreateTemplate

Creates an HFMwTemplate object, initializing it with the specified label and template type.

Syntax

<HFMwManageJournals>.CreateTemplate (lType, lTemplateType, varbstrLabel)

Argument

Description

lType

The journal type for the template. In this release, the method only supports templates for regular journals, and so the only valid value is the JTF_REGULAR constant.

Note:

The JTF_REGULAR constant is one of the HFMConstants type library constants listed in Journal Type Constants.

Input argument. Long subtype.

lTemplateType

The template type. Valid values are represented by the HFMConstants type library constants listed in Template Type Constants.

Input argument. Long subtype.

varbstrLabel

Label of the template.

Input argument. String subtype.

Return Value

Returns an HFMwTemplate object reference.