QueryBuildDataSource.addRange Method

Definition

Overloads

addRange(Int32, Int32, QueryRangeType)
addRange(Int32)

Adds a range to the data source.

addRange(Int32, Int32)

addRange(Int32, Int32, QueryRangeType)

public:
 virtual Dynamics::AX::Application::QueryBuildRange ^ addRange(int _field, int _arrayIndex, Microsoft::Dynamics::Ax::Xpp::QueryRangeType _rangeType);
public virtual Dynamics.AX.Application.QueryBuildRange addRange (int _field, int _arrayIndex, Microsoft.Dynamics.Ax.Xpp.QueryRangeType _rangeType);
abstract member addRange : int * int * Microsoft.Dynamics.Ax.Xpp.QueryRangeType -> Dynamics.AX.Application.QueryBuildRange
override this.addRange : int * int * Microsoft.Dynamics.Ax.Xpp.QueryRangeType -> Dynamics.AX.Application.QueryBuildRange
Public Overridable Function addRange (_field As Integer, _arrayIndex As Integer, _rangeType As QueryRangeType) As QueryBuildRange

Parameters

_field
Int32
_arrayIndex
Int32
_rangeType
Microsoft.Dynamics.Ax.Xpp.QueryRangeType

Returns

Applies to

addRange(Int32)

Adds a range to the data source.

public:
 virtual Dynamics::AX::Application::QueryBuildRange ^ addRange(int num1);
public virtual Dynamics.AX.Application.QueryBuildRange addRange (int num1);
abstract member addRange : int -> Dynamics.AX.Application.QueryBuildRange
override this.addRange : int -> Dynamics.AX.Application.QueryBuildRange
Public Overridable Function addRange (num1 As Integer) As QueryBuildRange

Parameters

num1
Int32

Returns

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.

Applies to

addRange(Int32, Int32)

public:
 virtual Dynamics::AX::Application::QueryBuildRange ^ addRange(int num1, int num2);
public virtual Dynamics.AX.Application.QueryBuildRange addRange (int num1, int num2);
abstract member addRange : int * int -> Dynamics.AX.Application.QueryBuildRange
override this.addRange : int * int -> Dynamics.AX.Application.QueryBuildRange
Public Overridable Function addRange (num1 As Integer, num2 As Integer) As QueryBuildRange

Parameters

num1
Int32
num2
Int32

Returns

Applies to