> Is there a way to populate a collection with 2 fields from a selection, one > becoming the key the other becoming the value of the collection? > > > Same for arrays, populating a collection with 2 arrays, one becoming the key > the other becoming the value of the collection? > > Looking for an easier approach than looping through the selection/array and > populating the collection manually.
There is no magical way to do this, you have to loop. It would be easy to make it into a generic method. Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
