Accesses values dynamically from the parent node without knowing the names of the incoming fields. Returns the number of incoming fields.
Category: | Data Input |
Returned data type: | Integer |
Note: | The returned value is an integer, representing the number of incoming fields from the parent node. |
fieldcount(<>)
Provides a way of dynamically accessing values from the parent node without knowing the names of the incoming fields. The function returns the number of incoming fields.
// Declare a hidden integer for the for loop, initializing it to 0
hidden integer i
i = 0
// Increment through the data once for each column of data in the input data
for i = 1 to fieldcount()