IEtlPlainDataSplit.MoveUp

Syntax

MoveUp(N: Integer);

Parameters

N. Condition index.

Description

The MoveUp method moves the condition one position up.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MBObject: IMetabaseObject;
    EtlTask: IEtlTask;
    Object: IEtlPlainDataSplit;
Begin
    MB := MetabaseClass.Active;
    MBObject := MB.ItemById("ETL").Edit;
    EtlTask := MBObject As IEtlTask;
    Object := EtlTask.Item(0As IEtlPlainDataSplit;
    Object.MoveUp(2);
    MBObject.Save;
End Sub UserProc;

After executing the example the third condition of the Split object is moved to the second position.

See also:

IEtlPlainDataSplit