Share via


QueryBuildDataSource.addRange Method

Adds a range to the data source.

Syntax

public QueryBuildRange addRange(
    FieldId field, 
   [int arrayIndex, 
    QueryRangeType rangeType])

Run On

Called

Parameters

  • arrayIndex
    Type: int

Return Value

Type: QueryBuildRange Class
A new range for the data source.

Remarks

Ranges define the values that records from the data source's table must satisfy.

Several range values can exist for the same field in a particular data source. In this case, the values are included in the query if the record qualifies for any of the values that are supplied. When ranges are included for multiple fields, only records that satisfy the constraints that are supplied by both criteria are included. The constraints are specified in the value method.

See Also

QueryBuildDataSource Class

QueryBuildRange.value Method