RsClose - method of the PmaAdo object
Description:
Releases the stored
AdoRecordset object with the specified identifier.
Syntax:
Boolean RsClose(String sId)
Parameters:
sId | (String) The unigue text identifier that is used by the PmaAdo object to remeber the specific AdoRecordset object.
If the "$all" value is entered, then all stored AdoRecordset objects are released. |
---|
Return value:
If remembered objects are released successfully, then returns the true value,
otherwise returns the false value.
Note:
The stored
AdoRecordset object is released together with the corresponding identifier.
Example:
Releasing the stored
AdoRecordset object with
table1 identifier from the
PmaAdo object ("/TestAdoDb").
JavaScriptVBScriptSelect and copy to clipboard
var oDb = pMe.Pm("/TestAdoDb");
oDb.RsClose("table1");
Dim oDb
Set oDb = pMe.Pm("/TestAdoDb")
oDb.RsClose "table1"