AttachmentAdd()

Attaches a file to an item.

Token ID

AFTKN_ADD_ATTACHMENT or 572

Syntax

VOID AttachmentAdd(ANSISTRING Filename; 
                    [ENUM DeleteWhenDone]; 
                    [ANSISTRING AttachmentDisplayName])

Parameters

Filename As ANSISTRING

DeleteWhenDone As ENUM

(Optional)

  • 0 No
  • 1 Yes
AttachmentDisplayName As ANSISTRING

(Optional) Name displayed in the Attach List box (up to 12 and 32 characters)