
DM API TOKENS 303
%ATTACHMENT_ID
%ATTACHMENT_ID
This token is used by the Update method that PCDDocObject
supports to add an attachment to the document.
Syntax
PCDDocObject.SetProperty(“%ATTACHMENT_ID”, _
lngAttachDocNum)
Parameters
Usage
Use %ATTACHMENT_ID with the SetProperty method that the
PCDDocObject
object supports.
Example
pDocObject = CreateObject("PCDClient.PCDDocObject.1")
'Set the login security information (DST) here.
pDocObject.SetProperty("%VERSION_DIRECTIVE","%ADD_ATTACHMENT")
pDocObject.SetProperty("%ATTACHMENT_ID", atcID)
Related Items
See the PCDDocObject object.
See the
SetProperty method.
See the
%VERSION_DIRECTIVE token.
%ATTACHMENT_ID The token identifier that indicates an
attachment is being added to the current
document.
lngAttachDocNum The value from the DOCNUMBER
column of the PROFILE table that
identifies the document that is being
added as an attachment.
Kommentare zu diesen Handbüchern