Application.CustomFieldIndicatorDelete Method

Project Developer Reference

Removes a test condition from a custom field graphical indicator criteria list.

Syntax

expression.CustomFieldIndicatorDelete(FieldID, Index, CriteriaList)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
FieldID Required Long The custom field. Can be one of the PjCustomField constants.
Index Required Integer The position of the test condition to delete from the list specified by CriteriaList.
CriteriaList Optional Long The criteria list containing the test condition to be deleted. Can be one of the following PjCriteriaList constants: pjCriteriaNonSummary, pjCriteriaSummary, or pjCriteriaProjectSummary. The default value is pjCriteriaNonSummary.

Return Value
Boolean

Remarks

The CustomFieldIndicatorDelete method returns a trappable error (error code 1004) if the list specified by

CriteriaList

is read-only because it has been set to inherit values from another list.

See Also