IEaxAnalyzeCore.Resources

Syntax

Resources: IResourceObject;

Description

The Resources property determines the Resource object that is used to store translations of the express report title.

Comments

The property is relevant if the express report title is multilingual, that is, if IEaxAnalyzer.SupportMultiLanguage = True.

Example

Executing the example requires that the repository contains an express report with the OBJ_EAX identifier and the Resources object with the EAX_RES identifier.

Add links to the Metabase, Express, and Io system assemblies.

Sub UserPr;
Var
    mb: IMetabase;
    resource: IResourceObject;
    repObj: IMetabaseObject;
    report: IEaxAnalyzer;
Begin
    mb := MetabaseClass.Active;
    resource := mb.ItemById("EAX_RES").Bind As IResourceObject;
    repObj := mb.ItemById("OBJ_EAX").Edit;
    report := repObj As IEaxAnalyzer;
    report.Resources := resource;
    report.SupportMultiLanguage := True;
    repObj.Save;
End Sub UserPr;

Example execution result: title of the OBJ_EAX express report is converted to multilingual, the Resources object with the EAX_RES identifier is used to store translations.

See also:

IEaxAnalyzeCore