FieldNameToFieldConstant Method

Returns a PjField constant given a field name.

Syntax

expression**.FieldNameToFieldConstant(FieldName, FieldType)**

*expression   *     Required. An expression that returns an Application object.

FieldName    Required String. The name of the field whose constant is required.

FieldType    Optional Long. The type of field. Can be one of the following PjFieldType constants: pjResource or pjTask. The default value is pjTask.

Applies to | Application Object

See Also | FieldConstantToFieldName Method