On Mar 29, 2012, at 1:21 PM, Perkins, Bradley D wrote:

> Yes, if they had already written it! :)

Moving to icloud messed up my access to the list when I tried to post something 
earlier. It still may apply.


On Mar 29, 2012, at 12:41 PM, Perkins, Bradley D wrote:

> That is my observation too, but am on a deadline.
> 
> Are there any field types that can't be placed into a collection or other
> limits? I'd probably never use this on a table that had Picture or BLOB
> fields but given BLOB and TEXT size allowances in newer 4D versions I'd
> think I'd want to account for cases where a generic method could create a
> collection with a large memory footprint.

Used the wrong email address with a reply, but it still fits.

> 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.

Might want to look at the code in the A4D.Debug library "dump selection".

It is fairly easy to start with this code and create a collection instead 
dumping the record(s) to html.

But, if you are just looking at certain tables, shouldn't a rowset give you 
what you need? It is a collection, you just need a map. You could use code from 
dump selection to create the map. That is more or less what I did in my Restful 
Active4D concept from a few years ago.

Steve Alex

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to