Updates the data in a Recordset object by re-executing the query on which the object is based.
recordset.Requery
The recordset placeholder is an object variable representing an open Recordset object.
Use the Requery method to refresh the entire contents of a Recordset object from the data source by reissuing the original command and retrieving the data a second time. Calling this method is equivalent to calling the Close and Open methods in succession. If you are editing the current record or adding a new record, an error occurs.
While the Recordset object is open, the properties that define the nature of the cursor (CursorType, LockType, MaxRecords, and so forth) are read-only. Thus, the Requery method can only refresh the current cursor. To change any of the cursor properties and view the results, you must use the Close method so that the properties become read/write again. You can then change the property settings and call the Open method to reopen the cursor.
file: /Techref/language/asp/comp/dameth03_2.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/12/1 16:09,
3.143.218.115:LOG IN
|
©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/dameth03_2.htm"> Requery Method (ADO)</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.