GroupCriterion Object
Project Developer Reference |
Represents a criterion in a group definition. The GroupCriterion object is a member of the GroupCriteria collection.
Example
Using the GroupCriterion Object
Use GroupCriteria(Index), where Index is the criterion index, to return a single GroupCriterion object. The following example sets the cell color for the first criterion in the Standard Rate resource group to blue.
Visual Basic for Applications |
---|
|
Using the GroupCriteria Collection
Use the GroupCriteria property to return a GroupCriteria collection. The following example displays a list of the fields used as criteria in the specified task group and whether they are sorted in ascending or descending order.
Visual Basic for Applications |
---|
|
Use the Add method to add a GroupCriterion object to the GroupCriteria collection. The following example adds another criterion to the specified resource group, grouping resources in ascending order as determined by the percentage of their work (in 25-percent increments) that is complete.
Visual Basic for Applications |
---|
|
See Also