SetTaskDependencyType method: Gantt class

Syntax

SetTaskDependencyType(RecordName.FieldName)

Description

Use the SetTaskDependencyType method to specify the type of dependency relationship between predecessor and successor tasks.

The values for type are as follows:

Type Description

Finish-to-Start

The arrow starts at the end of the predecessor task bar and ends at the start of the successor task bar. This is the default value

Finish-to-Finish

The arrow starts at the end of the predecessor task bar and ends at the end of the successor task bar.

Start-to-Start

The arrow starts at the start of the predecessor task bar and ends at the start of the successor task bar.

Start-to-Finish

The arrow starts at the start of the predecessor task bar and ends at the end of the successor task bar.

Parameters

Parameter Description

RecordName.FieldName

Specify the field, and its associated record, that defines the type of dependencies between predecessor and successor tasks. This field must be of type integer, and one of the following values:

Value Description

0 or any value greater than 3

Finish-to-Start

1

Finish-to-Finish

2

Start-to-Start

3

Start-to-Finish

Returns

None.