IEtlPlainIndex.PlainInputField

Syntax

PlainInputField(Field: Integer, Input: Integer): IEtlPlainField;

Parameters

Field. Index field position.

Input. Data provider index.

Description

The PlainInputField property determines a field of corresponding data provider that is included in this index.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    Join: IEtlPlainDataJoin;
    Index: IEtlPlainIndex;
    Field: IEtlPlainField;
    s: String;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    Join := EtlTask.Item(0As IEtlPlainDataJoin;
    Index := Join.Index;
    Field := Index.PlainInputField(0,0);
    s := Field.Id;
End Sub UserProc;

After executing the example the "s" variable contains an identifier of the first data provider field that corresponds to the first record in an index field. The repository object has the ETL identifier.

See also:

IEtlPlainIndex