Initialize

Specifies the tier for which resources are needed. Each Financial Management tier has its own DLL for resources, and if you created the object with CreateObject, you must call Initialize before calling any of the other HsvResourceManager methods.

Caution!

If you create the HsvResourceManager object with the resourceManager property, do not call Initialize. If Initialize is called in this case, an error will occur.

Syntax

<HsvResourceManager>.Initialize sTier
  

sTier

Integer (ByVal). Identifies the tier for which you want to use resources. When programming with the Web components, pass the HFM_WEB_TIER constant.

Tip:

HFM_WEB_TIER is one of the HFMConstants type library constants listed in Tier Constants.

Example

Initialize is used in the example for GetFormattedError.