SRSReportRun.showIndexFields Method [AX 2012]

Determines whether the index fields of the table are used as query range fields.

public boolean showIndexFields(TableId id)

Run On

Called

Parameters

id
Type: TableId Extended Data Type
The ID of the table or view from which index fields are used as ranges.

Return Value

Type: boolean
true the index fields of the table are used as query range fields; otherwise, false.

This method is called when you add query range fields to the dialog box and a data source does not have any ranges specified. If this method returns true, it will look after the first enabled index and show the visible fields from that.

Note that this method is overridden from the RunBase class. It obtains the return value from the class property. Report developers should override this method or the useIndexFieldsAsQueryRanges method property in order to change behavior.

Community Additions

ADD
Show: