i have a virtual ADO recordset. After populating it I then wan't to throw a table name in a db at it, and have it write to the table without cycling through the records or using SQL to update or insert. I know this is possible, but don't know how. Here's the code so far. what do i need to add?
Dim someRS as new ADODB.Recordset
Set someRS = new ADODB.Recordset
someRS.append "Field1", adChar
someRS.append "Field2", adInt
someRS.Open
someRS.AddNew
someRS("Field1") = "something"
someRS("Field2") = 3
someRS.Update
Dim someRS as new ADODB.Recordset
Set someRS = new ADODB.Recordset
someRS.append "Field1", adChar
someRS.append "Field2", adInt
someRS.Open
someRS.AddNew
someRS("Field1") = "something"
someRS("Field2") = 3
someRS.Update