Promotic
WikipediaLinkedInYoutubeTwitterFacebook

RsClose - method of the PmaAdo object

Description:
Releases the stored AdoRecordset object with defined identifier.
Syntax:
Boolean RsClose(String sId)
Parameters:
sId(String) Unique 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 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.
See also:
- PmaAdo.RsOpen (method)
- PmaAdo.RsGet (method)
- PmaAdo.RsIsOpen (method)
- PmaAdo.DbExecute (method)
Example:
Releasing the stored AdoRecordset object with unique identifier ("table1") from the PmaAdo object ("/TestAdoDb").
JavaScriptVBScriptSelect and copy to clipboard

var oDb = pMe.Pm("/TestAdoDb");
oDb.RsClose("table1");

History:
Pm8.01.00: Created
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice