PlainInputField(Field: Integer, Input: Integer): IEtlPlainField;
Field. Index field position.
Input. Data provider index.
The PlainInputField property determines a field of corresponding data provider that is included in this index.
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(0) As 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: