AddHavingCriteria method: QuerySelect class
Syntax
AddHavingCriteria(Name)
Description
The AddHavingCriteria method adds new criterion to the query definition, which is intended for use in the HAVING clause of the SELECT statement. This method returns a reference to a new QueryCriteria object that you can then use to specify details about the having criteria.
Note:
If you do not specify a unique name for Name when adding a criterion, a criteria object referencing the new criteria is returned, not the existing criteria object.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specify a string containing the name of the criteria that you want to add. The maximum length of this parameter is 30 characters. |
Returns
A reference to a QueryCriteria object.