On Nov 14, 2012, at 7:21 AM, Aparajita Fishman wrote: >> I still think that the collection suit is missing a command "Selection to >> Collection" to streamline the population of a collection from a selection >> (see my older post "Selection to Collection / Array to Collection") . > >> This command would generate a single collection with keys according to the >> field name and arrays as value declared accordingly to the type of the >> field. >
A4D.debug.dump selection basically gives you all the techniques need to get a selection into a collection. You just have to populate a collection instead of a table. I wrote this somewhere, but can't remember where. You have to decide if you want a keyed collection, based on a unique_id, or just an array of collections (long int) Steve > It could easily be written as a library method. Add it as a feature request > in the issue tracker. _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
