The FileType_CanAppend() function indicates whether a specified file type can be appended to.
FileType_CanAppend(file_type)
• file_type – An integer specifying the file type. The value typically corresponds to one of the following file type constants:
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 |
A boolean. True indicates the file type can be appended to, while false indicates that it cannot.
Typically, the value passed to this function will come from the item data for the list field filled by the FileType_FillList() function.