Promotic
WikipediaLinkedInYoutubeTwitterFacebook

RsClose - method of object PmAdo

Description:
Releases the stored AdoRecordset object with defined identifier.
Syntax:
RsClose(sId As String) As Boolean
Calling:
b = oDb.RsClose(sId)
Parameters:
sId(String) Unique identifier that is used by the PmAdo object to remeber the specific AdoRecordset object.

If the $all value is entered, then all stored AdoRecordset objects are released.

Return Values:
Returns true if remembered objects are released successfully, otherwise it returns false.
Note:
The stored AdoRecordset object is releasedse together with the corresponding identifier.
Example:
Releasing the stored AdoRecordset object with unique identifier ("table1") from the PmAdo object ("/TestAdoDb").
Dim oDb
Set oDb = pMe.Pm("/TestAdoDb")
oDb.RsClose "table1"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice