Share via


Tutorial_RunbaseForm.queryRun Method [AX 2012]

Retrieves an instance of the QueryRun class, which is used by the queryPrompt method.

Syntax

public QueryRun queryRun()

Run On

Called

Return Value

Type: QueryRun Class
The instance of the QueryRun class, which is used by the QueryPrompt method.

Remarks

This method is used if a query prompt is the dialog and if a select menu item is added to the dialog box. Do not create an instance the queryRun class whenever the method is called. Do it in the unpack method and the initParmDefault method, or in the init method.

See Also

Reference

Tutorial_RunbaseForm Class