Name
Requery (Recordset Object) —
rsObj.Requery Options
Synopsis
Re-executes the original query you ran to retrieve the records in the Recordset object. This refreshes the contents of the recordset.
Parameters
-
Options The Options parameter is a bitmask that can be used to specify the Execute options desired.
-
adAsyncExecute (0x10) Execution should occur asynchronously.
-
adAsyncFetch (0x20) Specifies that if there are rows remaining to be retrieved after the first set of records are retrieved (the number of which is equal to the setting for CacheSize), those remaining rows should be retrieved asynchronously.
-
adAsyncFetchNonBlocking (0x40) Specifies that the records should be retrieved asynchronously but that the thread used by the system to retrieve the records should not block other threads.
-
adAsyncExecuteNoRecords (0x80) Specifies that no records should be returned (for example, if the Command object is being used to update a record). In this case, if there are any records returned they are ignored by the system.
-
adOptionUnspecified (-1) To specify no execution options, you can optionally use the
adOptionUnspecifiedconstant.
-
Example
<%@ LANGUAGE="VBSCRIPT" %> <% Response.Buffer = True %> <HTML> <HEAD> <TITLE>ADO Examples</TITLE> </HEAD> <BODY> <% ' Include ADOVBS.INC so we can use the ADO constants. %> <!-- #include virtual = "/bc_SSIncludes/adovbs.inc" --> <% ' Instantiate an ADO Connection object. Set objDBConn = Server.CreateObject("ADODB.Connection") ' Construct the connection ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access