The Clone method is a little used method on a Recordset object. This method is an efficient and fast way of creating a recordset that is a "copy" of another recordset. It is much more efficient than rerunning a query, or even reopening a table-type recordset. As a general rule, cloning a recordset is a low cost operation.
Some examples of where you might use clones include:
Dim rst1 As Recordset, rst2 As Recordset Set rst1 = dbsCurrent.OpenRecordset("Table1") Set rstClone = rst1.Clone() Debug.Print rst1!name rst1.Edit rst1!name = "Smith" Debug.Print rst1!name Debug.Print rstClone!name ...
The code above will print out the original value of Name, followed by "Smith," followed by the original name, because the recordset clone, rstClone, has access to the stored name until the Update method is called.