FileType_CanAppend()

Examples


The FileType_CanAppend() function indicates whether a specified file type can be appended to.

Syntax

FileType_CanAppend(file_type)

Parameters

file_type – An integer specifying the file type. The value typically corresponds to one of the following file type constants:

[spacer]

Constant

Description

Can append

TEXTFILE

Text file

Yes

TABFILE

Tab-delimited file

Yes

COMMAFILE

Comma-delimited file

Yes

HTMLFILE

HTML file

No

XMLFILE

XML file

No

PDFFILE

PDF file

No


Return value

A boolean. True indicates the file type can be appended to, while false indicates that it cannot.

Comments

Typically, the value passed to this function will come from the item data for the list field filled by the FileType_FillList() function.


Documentation Feedback