EnvGetProfileField()

Returns the value of the field specified by FieldID in the document profile for the document specified by the Document Number in DocIDStr.

Token ID

AFTKN_DM_GETFIELD or 862

Syntax

ANSISTRING EnvGetProfileField(ANSISTRING DocIDStr; 
                                    ENUM FieldID)

Parameters

DocIDStr As ANSISTRING

Document number of the document.

FieldID As ENUM

Specifies the field as follows:

625

Author

628

Document Extension

Returns the Document Extension of the file name.

629

Document Type

9

Subject

Return Values

ANSISTRING

Field String.