Equinox Online Help - Language Reference - A to Z

Home

IsPicture

Applies to
SyntaxIsPicture(PictureFieldName)
Action[Function] Checks if the specified field has a picture in it.
ScopeUsable 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.

CategoryPictures
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)) then
MarkIndex PhotoRequiredQinx
end if