Xbasic

hasChildRecords Function

Syntax

L result hasChildRecords(C tableAlias )

Arguments

result

.t. if the current parent record has any children in the specified tableAlias.

tableAlias

Table to check for children of the current parent record

Description

For use in a Form or Report that is based on a set with one or more one-to-many child tables. Returns .t. if the current parent record has any children in the specified tableAlias. Supported by V10.