MoveDown(N: Integer);
N — a condition index.
The MoveDown method moves the condition one position down. Condition index is passed by the N parameter.
Sub Main;
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(0) As IEtlPlainDataSplit;
Object.MoveDown(2);
MBObject.Save;
End Sub Main;
After executing this example the third condition of the object Split is moved to the forth position.
See also: