Advertising banner:

History
 
 ServerFile.OpenAttachment
Home • Help • A0 • Customization Tools • FCAS • Language Reference • ServerFile.OpenAttachment
 
OpenAttachment (server files)
Minimum version: 4.0
Purpose
Opens an attachment on the current object on the FirstClass server.
If you don't specify an index, the first attachment is opened.
Syntax
ServerFile.OpenAttachment (Index)


Index
The number of the attachment you want to open.

Example
Dim sf as ServerFile
sf.OpenFile("MyConf|MyMsg",fcRead)
sf.OpenAttachment(0)
Debug sf.Filename
sf.CloseObject
sf.OpenAttachment(1)
Debug sf.Filename