Promotic

Pm_LastErr - property of the AdoField object

Description:
The numeric error code of the result of the last executed method (property) of the AdoField object.
Syntax:
Long Pm_LastErr
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:
- PmaAdo.LastErr (property)
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oAdoField = oRs.Fields.Item("value");
var nErr = oAdoField.Pm_LastErr;
Example2:

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

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