GETFILEATTRIBUTE
Returns the metadata for the file in an attachment field.
Usage examples
-
GETFILEATTRIBUTE(tableA.fieldB) -
GETFILEATTRIBUTE(tableA.fieldC, FileName)
Syntax
GETFILEATTRIBUTE ( table_field, [ attribute_name ] )
-
table_field- a reference to an attachment field in the current table. -
attribute_name- the name of a supported attribute: FileName, FileSize, FileType.-
FileName- returns the name of the file. -
FileSize- returns the size of the file in bytes. -
FileType- returns the type of the file.
-
Returns
object - the metadata for the file.