oRecordset = oDb.RsGet(sId)
|sId||(String) Unique identifier used by the PmaAdo object to store the specific AdoRecordset object.|
Depending on the specific ADO Provider it is possible, that a single row SQL query result will not be returned in the form of the AdoRecordset object containing a single record, but in the form of the AdoRecord object (represents the single row). Není to ale typické pro nejběžněji užívané ADO Provider. The AdoRecord object is usually returned by explicit operations, when the specific AdoRecord is returned from the existing AdoRecordset object. The AdoRecord object consists of multiple AdoField objects, the same way as the AdoRecordset object. The difference is that the methods for moving the position of current record are not supported (e.g. MoveFirst). In order to keep the documntation simple, it will be referred only to the commonly returned AdoRecordset object, although in some special cases the system may also return the AdoRecord object.
var oDb = pMe.Pm("/TestAdoDb");
var oRs = oDb.RsGet("table1");
while (! oRs.EOF)
Pm.Debug("Field=" + oRs.Fields.Item(0).Value);