Clone - method of the AdoRecordset object
You can use this method to create multiple, duplicate AdoRecordset
objects, particularly if you want to edit more than one current record in the AdoRecordset
object. This method is much more efficient than creating, opening and closing a new AdoRecordset
object equal to the original.
A clone can be created from the AdoRecordset
object or a previously created clone.
Empty Clone([Long locktype])
|locktype||[optional] (Long) The LockTypeEnum value that specifies the lock type.
- The clone is created with the same lock type as the original AdoRecordset
- The clone is a read only AdoRecordset
var oClone = oRs.Clone(-1);