Get Error Count

This system function returns the number of errors that are set on a subform, including its children, if desired.

Parameters

Subform

Input, required. The subform FC to affect. If the subform has children, you can include the errors set on them in the count as well.

Number

Input, required. The object to which to assign the return value. Set the parameter to an applicable object from the object list.

Returns

This system function returns the total number of errors set on the objects indicated. Runtime returns the value to the object indicated by Number.