I've created a formula field containing the code below...
In another formula field I want to use the array ASmembers as follows....
But the array is not recognized.
ERROR message: ") is missing"
When I put the declaration described above on top of this new formula field it works again, but I don't want to declare the same array in more formula fields.
Whats going wrong ?
Code:
Global StringVar array ASmembers := ["LAMMERS","DUNGEN","TROMP","ESSERS","KRYSTEK","SMULDERS"];
In another formula field I want to use the array ASmembers as follows....
Code:
"Selected AS members: "+ JOIN(ASmembers, ", ");
But the array is not recognized.
ERROR message: ") is missing"
When I put the declaration described above on top of this new formula field it works again, but I don't want to declare the same array in more formula fields.
Whats going wrong ?