Share via


RunBase.queryRun Method [AX 2012]

Returns the QueryRun object, which is used by the QueryPrompt class.

Syntax

public QueryRun queryRun()

Run On

Called

Return Value

Type: QueryRun Class
The QueryRun object, which is used by the QueryPrompt class.

Remarks

This method is used if a query prompt is the dialog, and if a Select menu item is added to a dialog box.

Do not instantiate the queryRun object whenever the method is called. This should be done in the unpack method and the initParmDefault method. Or it should be used in the init method ,if this is used, or in the method only when it is not instantiated.

See Also

RunBase Class

RunBaseReport.reportRun Method

RunBase.unpack Method

RunBase.initParmDefault Method

RunBase.init Method