On Sep 24, 2006, at 10:43 AM, Dennis Birch wrote:
Thanks for the idea. If I understand it correctly, in the constructor for MyClass, I would need to read the values of the fields in the recordset and then create a new record from that, which would provide me with an array of DatabaseRecords in the end. I was hoping to find that there was something built into the RS implementation of the Database class that would allow me to access a subset of the recordset.
No. This would give you an array of YOUR custom class And there is nothing built in
In the end I came up with another solution. I get a recordset that contains just the primary keys of all the records in the table and then iterates over that set to access one record at a time and feed it to the constructor for my internal object.
That would work too _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
