The QR EXECUTE COMMAND command executes the menu command or toolbar button whose reference was passed in command. The most common use for this command is to execute a command after the user selected that command and your code intercepted it through the QR ON COMMAND command.
In command, you can pass a value or one of the constants of the QR Commands constant theme.
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid command number, the error -9852 will be generated.