05-09-2018 12:18 PM - edited 05-09-2018 12:38 PM
I am slowly converting my app to use OOP. Much of it will not be converted for some time so I need a way to bridge from Class data to cluster data.
I have a parent class that contains a table of data that is an array of a child class. The child class control is a cluster with 21 elements/columns. To break out the data of a single row to a cluster I just index the array of classes and use unbundle to bundle for each of the 21 elements. This results in a single cluster of data that is compatible with my old code . However when I want to pass the entire array as an array of clusters I am using a for loop with the previous unbundle to bundle to get the array of clusters. This means that anytime I want to extract data from the entire table on the class array wire I must use a for loop.
Is there a better way to do this?
TIA,
Norm
05-10-2018 07:47 AM - edited 05-10-2018 07:50 AM