[AccessD] Clone an object

jwcolby jwcolby at colbyconsulting.com
Wed May 21 10:55:41 CDT 2008


Is there a way in VBA to "Clone" an object, in particular a field of a 
recordset.  I want to open a DOA recordset, get a COPY of the entire 
field object for each field in rst.fields.

I do not want a copy of the POINTER to the existing field.

IOW I can create a field object at will by dimming and setting as new. 
Now I need to take a field in a recordset and copy all of the properties 
of that field into the same properties in the field I just created.

I have no idea how to do that.

Anybody?

-- 
John W. Colby
www.ColbyConsulting.com



More information about the AccessD mailing list