This method is used if the dialog box is a query prompt, and if a Select menu item is added to a dialog box. Do not instantiate the QueryRun class whenever the method is called. This should be done in the unpack and initParmDefault methods or in the init method (if this is used).