Update cookies preferences
Promotic

Pm_LastTextErr - property of the AdoRecordset object

Description:
The text description of the last executed method (property) of the AdoRecordset object.
Syntax:
String Pm_LastTextErr
Note:
Property access for read only.
 
In order to test the result of the last executed method (property) over any implementation ADO object (e.g. AdoRecordset, AdoField, AdoRecord) encapsulated by security layer (Wrapper object). In order to test the result of the last executed method (property) of the PmaAdo object similar properties PmaAdo.LastErr and PmaAdo.LastTextErr can be used.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

oRs.MoveFirst();
if (oRs.Pm_LastErr == 0)
{
while (! oRs.EOF)
{
Pm.Debug(oRs.Fields.Item(0).Value);
oRs.MoveNext();
}
}
else
{
Pm.Debug(oRs.Pm_LastTextErr);
}

History:
Pm8.03.09: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.