Object Reference > True DBGrid Properties > SQLState Property |
The SQLState property returns a five-character string that contains the error code produced when the provider cannot process a SQL statement.
error.SQLState
Read-only at run time. Not available at design time.
The function of this property is identical to the ADO SQLState property.
Note
This property applies to Error object (OLE DB only).