@MemberGeneration
@MEMBERGENERATION
returns the generation number of a member.
DTP Type:
@MEMBERGENERATION
can be assigned to a DTP of type numeric or integer.
Syntax:
@MEMBERGENERATON(Member)
Parameters:
Parameter | Description |
---|---|
Member |
Design-time prompt, member, or function (design-time prompt or function should return a single member) |
Example:
[MBRGEN1]=@MEMBERGENERATION([member])
Where:
-
[MBRGEN1]
is a DTP of type numeric that is not a checked prompt. -
[member]
is a DTP of type member that is a checked prompt.
Assume that the input for [member]
is "5800".
Using the following planning outline, [MBRGEN1]
returns "9".