| |
gold7
Posts: 10
Score: 0
Joined: 6/9/2001
From: USA
Status: offline
|
Disconnect the recordset from the DB. eg: dim conn, rec set conn = server.createobject("adodb.connection") conn.open "DSN=connection" set rec = server.createobject("adodb.recordset") rec.activeconnection = conn rec.open "select * from table" rec.activeconnection = nothing conn.close set conn = nothing you now have a recordset that has been populated with the data from your database, but is no longer connected to it. This way, you can do all the modifications you want to the recordset, without affecting the underlying data. If you eventually need to update the DB with the changes, just set the .activeconnection = conn, then do rec.update... that should work for you.
|
|