| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
					
                    
                         
    4D v20.6
 
QR SET DOCUMENT PROPERTY 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QR SET DOCUMENT PROPERTY ( area ; property ; value ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint | 
             
         | 
        Reference of the area | |||||
| property | Longint | 
             
         | 
        1 = Printing dialog, 2 = Document unit | |||||
| value | Longint | 
             
         | 
        Value for the property | |||||
The QR SET DOCUMENT PROPERTY command displays the printing dialog or sets the unit used for the document.
In property, you can pass the following constants, located in the QR Document Properties constant theme:
| Constant | Type | Value | Comment | 
| qr field separator | Longint | 3 | Character code of the field separator. Default value is the system variable FldDelimit (Tab by default).  | 
		
| qr printing dialog | Longint | 1 | Display of the print dialog box:
  | 
		
| qr record separator | Longint | 4 | Character code of the record separator. Default value is the system variable RecDelimit (Carriage Return by default).  | 
		
| qr unit | Longint | 2 | Document unit:  
  | 
		
If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid value in the  property or value parameter, the corresponding error (-9852 or -9853) is generated.
	Product:  4D
	Theme:  Quick Report
	Number:  
        772
        
        
        
	
	Created:  4D 2003
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	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)
	
	
	
Add a comment