This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
QR EXECUTE COMMAND

QR EXECUTE COMMAND 


 

QR EXECUTE COMMAND ( area ; command ) 
Parameter Type   Description
area  Longint in Reference of the area
command  Longint in 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.



See also 

QR Get command status
QR ON COMMAND

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 791

This command modifies the Error system variable

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D 2003
Modified: 4D v16
Modified: 4D v17 R6

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)