| 4D View v15PV SET DOCUMENT INFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D View v15
 PV SET DOCUMENT INFO 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PV SET DOCUMENT INFO ( area ; title ; subject ; author ; company ; comment ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D View area | |||||
| title | String |   | Document title | |||||
| subject | String |   | Document subject | |||||
| author | String |   | Author of the document | |||||
| company | String |   | Company name | |||||
| comment | Text |   | Comment | |||||
The PV SET DOCUMENT INFO command associates with the document in area information passed in the title, subject, author, company and comment parameters. This information corresponds to the info displayed in the "Information" dialog box for the document (Tools/Document information... menu command).
In cases such as a 4D View area included in a form, information relative to this area is updated every time a user modifies or creates a record using this form.
 C_TEXT($Title) //Title of document
 C_TEXT($Subject) //Subject of document
 C_TEXT($Author) //Author of document
 C_TEXT($Company) //Company name
 C_TEXT($Comment) //Comments
 C_DATE($CreationDate) //Date of document creation
 C_TIME($CreationTime) //Time of document creation
 C_DATE($ModificationDate) //Date of last document modification
 C_TIME($ModificationTime) //Time of last document modification
 
  //Get document related information
 PV GET DOCUMENT INFO($1;$Title;$Subject;$Author;$Company;$Comment;$CreationDate;
 $CreationTime;$ModificationDate;$ModificationTime)
 $Title:=Request("What is the document title?";$Title)
 $Subject:=Request("What is the document subject?";$Subject)
 $Author:=Request("What is your name?";$Author)
 $Company:=Request("What is your company?";$Company)
 $Comment:=Request("Comments?";$Comment)
 
 PV SET DOCUMENT INFO(Area;$Title;$Subject;$Author;$Company;$Comment) //Update info
	Product:  4D View
	Theme:  PV Document
	Number:  
        15858
        
        
        
	
	Created:  4D View 6.8
	4D View Language ( 4D View v15)
	
	
	
	
	
	
	
 Add a comment
Add a comment