Application.CustomFieldPropertiesEx Method (Project)
Sets attributes associated with a custom field.
Syntax
expression .CustomFieldPropertiesEx(FieldID, Attribute, SummaryCalc, GraphicalIndicators, Required, AutomaticallyRolldownToAssn)
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. |
Attribute |
Optional |
Long |
The attribute to associate with the field specified with FieldID. Can be one of the following PjCustomFieldAttribute constants: pjFieldAttributeNone, pjFieldAttributeFormula, or pjFieldAttributeValueList. |
SummaryCalc |
Optional |
Long |
The calculation to be performed on the custom field for summary rows and grouping summary rows. Can be one of the PjSummaryCalc constants. |
GraphicalIndicators |
Optional |
Boolean |
True if graphical indicators display instead of data for the custom field. |
Required |
Optional |
Boolean |
True if the custom field is required. |
AutomaticallyRolldownToAssn |
Optional |
Boolean |
True if the custom field automatically rolls down to assignments. |
Return Value
Boolean
Remarks
Changing the value of Attribute for a field only enables or disables the attribute. It does not remove any associated data.