LateBoundPropertyRef("*./[DOWN]/*",,,) Using this command i can only get information of one child object
I am trying to get information of obejcts by using LateBoundPropertyRef("*./[DOWN]/*",,,)
If we use this command at parent level , we can fetch any information from child object level.
This works just fine,but what if i have more then one child object.
How do it fetch information of more then one child objects by using LateBoundPropertyRef("*./[DOWN]/*",,,) method.
Answers
You can do this like this:
expression variable NumberOfItems with expression String(LateBoundPropertyRefArray("[Functional Structure]Area/*,"Name","Name",1000)#length)
expression variable displayname with expression:
LateBoundPropertyRefArray("[Functional Structure]Area/*,"Name","Name",1000
if NumberOfItems#isnull then "" else DisplayName[0]#StringVal
to show the item.
Next item:
if NumberOfItems#lenght > 1 then "" else DisplayName[1]#StringVal
Add new comment