Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy record from Recordset1 to Recordset2?

Status
Not open for further replies.

aliendan

Programmer
Joined
Jun 28, 2000
Messages
79
Location
US
OK, I'm brain-dead here...how would I copy a record from a recordset to another recordset? Can someone help me?
Dan Rogotzke
Dan_Rogotzke@oxy.com
 

Aliendan


If you ae talking ADO etc I guess you are talking about cloning.

Never used it - but "the Clone method create copies of a Recordset and then lets the user position the record pointer of each copy independently".

arstStores(1).Open strSQL, strCnn, , , adCmdText
Set arstStores(2) = arstStores(1).Clone

If you could tell me why you need to do it - i would be quite interested.

Stew

 
mymou,

Please read my post from yesterday called "Recordset to Querydef". Then answer I got will work but I'm having a problem doing it. Let me know what you think, ok?
Dan Rogotzke
Dan_Rogotzke@oxy.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top