| 4D v18SET DOCUMENT POSITION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 SET DOCUMENT POSITION 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SET DOCUMENT POSITION ( docRef ; offset {; anchor} ) | ||||||||
| Parameter | Type | Description | ||||||
| docRef | DocRef |   | Document reference number | |||||
| offset | Real |   | File position (expressed in bytes) | |||||
| anchor | Longint |   | 1 = In relation to the beginning of the file 2 = In relation to the end of the file 3 = In relation to current position | |||||
This command operates only on a document currently open whose document reference number you pass in docRef.
SET DOCUMENT POSITION sets the position you pass in offset where the next read (RECEIVE PACKET) or write (SEND PACKET) will occur.
If you omit the optional anchor parameter, the position is relative to the beginning of the document. If you do specify the anchor parameter, you pass one of the values listed above.
Depending on the anchor you can pass positive or negative values in offset.
	Product:  4D
	Theme:  System Documents
	Number:  
        482
        
        
        
	
	Modified:  4D v11 SQL Release 3
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v18)
	
	
	
	
	
 Add a comment
Add a comment