GetImageFormat method: QueryDBRecordField class

Syntax

GetImageFormat()

Description

Use the GetImageFormat method to differentiate between images and files, both stored as BLOBs in the database.

Note:

Because images and files share the field type value 8, this method is required to differentiate between the two types.

Parameters

None.

Returns

A number. A value 16 indicates that the field is of type file (or attachment).