@IsChild
@ISCHILD
returns true if the specified child member is child of the specified parent member.
DTP Type:
@ISCHILD
can be assigned to a DTP of type boolean.
Syntax:
@ISCHILD(Parent Member/Child Member)
Parameters:
Parameter | Description |
---|---|
Parent Member |
Design-time prompt of type member |
Child Member |
Design-time prompt of type member |
Example 1:
[True_False]=@ISCHILD([Prt_Mbr],[mbr])
Where:
-
[True_False]
is a DTP of type boolean that is not a checked prompt. -
[Prt_Mbr]
is a promptable DTP of type member type. -
[Mbr]
is a promptable DTP of type member type.
Assume the following:
-
The input for
[Prt_Mbr]
is "Q1". -
The input for
[Mbr]
is "Jan".
In this example, [True_False]
returns true.