4D v13

PV SET DOCUMENT INFO

Home

 
4D View v13
PV SET DOCUMENT INFO

PV SET DOCUMENT INFO 


 

PV SET DOCUMENT INFO ( area ; title ; subject ; author ; company ; comment ) 
Parameter Type   Description
area  Longint in 4D View area
title  String in Document title
subject  String in Document subject
author  String in Author of the document
company  String in Company name
comment  Text in 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).

Example  

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_STRING(255;$Title`Title of document
 C_STRING(255;$Subject`Subject of document
 C_STRING(255;$Author`Author of document
 C_STRING(255;$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

 
PROPERTIES 

Product: 4D
Theme: PV Document
Number: 15858

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV GET DOCUMENT INFO