| 4D v18QR EXECUTE COMMAND | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 QR EXECUTE COMMAND 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR EXECUTE COMMAND ( area ; command ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | Reference of the area | |||||
| command | Longint |   | Menu command to be executed | |||||
The QR EXECUTE COMMAND command executes the toolbar button command whose reference was passed in command. The most common use for this command is to execute a command selected by the user and intercepted in your code via the QR ON COMMAND command.
In command, pass a value or one of the following constants of the QR Commands constant theme (only listed events are supported):
| Constant | Value | Comment | 
| qr cmd generate | 2008 | Use of command QR RUN recommended | 
| qr cmd open | 2001 | |
| qr cmd page setup | 2006 | |
| qr cmd print preview | 2007 | |
| qr cmd save | 2002 | |
| qr cmd save as | 2003 | 
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.
	Product:  4D
	Theme:  Quick Report
	Number:  
        791
        
        
        
	
	Created:  4D 2003
	Modified:  4D v16
	Modified:  4D v17 R6
	
	4D Language Reference ( 4D v18)
	
	
	
 Add a comment
Add a comment