I’d like to get an Object field into a Collection for use in a Listbox.
The code below works, but it seems like there should be a more direct way to get the collection “$cents”.
entitySelection.toCollection( ) sounds promising, but isn’t working (for me) to get a field to a collection.
Does anyone see a shorter path?
USE ENTITY SELECTION($vents)
SELECTION TO ARRAY([Table]Obj;$aObj)
ARRAY TO COLLECTION($cents;$aObj)