Share via


SRSReportParameter.getSelectedValidValue Method [AX 2012]

Gets the selected valid value from the valid values map or list for a given index.

Syntax

public anytype getSelectedValidValue(int _valueSelectedIdx)

Run On

Called

Parameters

  • _valueSelectedIdx
    Type: int
    Valid value indes/

Return Value

Type: anytype
The strongly typed value.

Remarks

If valid values was displayed, then the dialog would have shown a enum based combo box.

The value returned from dialog field will be integer 0,1,2.. based on the enum drop down order.

We will have to map this integer value to the underyling key in the validValues Map Value is a int and will start at 0, combo box selection behavior.

See Also

Reference

SRSReportParameter Class