Creates a duplicate Recordset object from an existing Recordset object.
Set duplicate = original.Clone
The Clone method syntax has these parts:
Part |
Description |
duplicate |
An object variable identifying the duplicate Recordset object you're creating. |
original |
An object variable identifying the Recordset object you want to duplicate. |
Use the Clone method to create multiple, duplicate Recordset objects, particularly if you want to be able to maintain more than one current record in a given set of records. Using the Clone method is more efficient than creating and opening a new Recordset object with the same definition as the original.
The current record of a newly created clone is set to the first record. Changes you make to one Recordset object are visible in all of its clones regardless of cursor type. Closing the original recordset does not close its copies; closing a copy does not close the original or any of the other copies.
You can only clone a Recordset object that supports bookmarks. Bookmark values are interchangeable; that is, a bookmark reference from one Recordset object refers to the same record in any of its clones.
file: /Techref/language/asp/comp/dameth01_7.htm, 2KB, , updated: 1996/11/21 18:01, local time: 2024/11/8 20:10,
3.22.240.165:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/asp/comp/dameth01_7.htm"> Clone Method (ADO)</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.