Equinox Online Help - Language Reference - A to Z
IsPicture |
|
---|---|
Applies to | |
Syntax | IsPicture(PictureFieldName) |
Action | [Function] Checks if the specified field has a picture in it. |
Scope | Usable anywhere. |
Notes | This function returns True if the Equinox database manager has a picture in a picture field specified by PictureFieldName. The field must be in the current table, its parent, a child, or a related table. False is returned if there is no picture present in the field specified. |
Category | Pictures |
See Also | AssignPicture, ErasePicture, ExportPicture, ImportPicture, PictureSize, PictureType, SelectPicture, ShowPictures |
Example | The following example tests the current record to determine if it has a picture stored in the field StaffPhoto. If there is no picture, the record is marked in a query index. if Not(IsPicture(StaffPhoto)) thenMarkIndex PhotoRequiredQinxend if |