functions

fhIsAttribute

Description

Returns true if the item is an attribute item (e.g. Occupation, Education etc). See also fhIsEvent and fhIsFact.

Syntax

bResult = fhIsAttribute(ptr)

Parameters

ptr
item pointer

Returns

bResult
true if item pointed to is an attribute

Example

pi = fhNewItemPtr()
pi:MoveToFirstRecord('INDI')
pi:MoveTo(pi,'~.OCCU')
if fhIsAttribute(pi) then
    fhMessageBox('Occupation exists and is an attribute')
end