It would be pretty easy to write a generic method that would iterate through the fields of a table and populate a collection with its values. The necessary field commands are all supported in Active4D.
On Mar 29, 2012, at 9:33 AM, Perkins, Bradley D wrote: > It was easy to create the collections with the values I needed for the > specific tables. If a more generic solution exists (for future use) I'm > definitely interested. > > -- Brad > > > On 3/29/12 9:25 AM, "Perkins, Bradley D" <[email protected]> wrote: > >> I've looked through the standard libraries and searched the manual. I >> thought there was a command or utility methods that would create a >> collection from a current record. Does one exist, or can anyone share >> code? >> I have a case where I'd like to have value object that I can pass off to >> a number of methods. A collection would work nicely. >> >> Thanks, >> >> Brad Perkins >> _______________________________________________ >> Active4D-dev mailing list >> [email protected] >> http://list.aparajitaworld.com/listinfo/active4d-dev >> Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/ > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://list.aparajitaworld.com/listinfo/active4d-dev > Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/ Regards, Aparajita _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
