IEtlBox.UpdateObjectsState

Syntax

UpdateObjectsState;

Description

The UpdateObjectsState method updates display of calculation chain activity state.

Comments

The method can be relevant for use if calculation chain states are being modified in the code using the IEtlTask.ActiveChain method.

Example

Executing the example requires a form, a button named the Button1 on the form, the UiEtlObject component named UiEtlObject1 and the EtlBox component named EtlBox1. UiEtlObject1 is selected as a data source for EtlBox1. Any ETL task is connected to UiEtlObject1.

Add a link to the ETL system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Task: IEtlTask;
Begin
    Task := UiEtlObject1.EtlTask;

    Task.ActiveChain(Task.Links.Item(0).ConnCompId) := False;
    EtlBox1.UpdateObjectsState;
End Sub Button1OnClick;

After executing the example, clicking the button excludes the chain including the first link between the objects from the general list of executable chains. After that the visual formatting of all ETL task objects will be updated.

See also:

IEtlBox