Application.CustomFieldProperties Method
Project Developer Reference |
Sets attributes associated with custom fields.
Syntax
expression.CustomFieldProperties(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 | |
AutomaticallyRolldownToAssn | Optional | Variant |
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.
See Also