SRSReportRun.showIndexFields Method [AX 2012]

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

Syntax

public boolean showIndexFields(TableId id)

Run On

Called

Parameters

Return Value

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

Remarks

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.

See Also

Reference

SRSReportRun Class