Edit

Share via


ProjectDataSet.TaskRow.TASK_PCT_COMP Property

Definition

Contains the percentage of elapsed duration compared with the remaining duration.

public:
 property int TASK_PCT_COMP { int get(); void set(int value); };
public int TASK_PCT_COMP { get; set; }
member this.TASK_PCT_COMP : int with get, set
Public Property TASK_PCT_COMP As Integer

Property Value

Remarks

Read-only. TASK_PCT_COMP = (TASK_ACT_DUR / TASK_DUR) * 100

When a task is created, the percent complete is zero. TASK_PCT_COMP is calculated when you enter actual duration, remaining duration, or actual work (which affects actual duration).

If the % Complete field is set to a value greater than zero, the Actual Start field is set to the scheduled start date if you have not yet entered an actual start date. If the % Complete field is set to 100, the Actual Finish field is set to the scheduled finish date.

If you type a value in the % Complete field, Project automatically calculates actual duration and remaining duration. Entering a value in the Actual Duration field or the Remaining Duration field also automatically recalculates the other fields.

Applies to