![]() | Type | Description | ||
| Error as Long | A long expression that indicates the error number. | |||
| Description as String | A string expression that describes the error. |
The Error event is fired each time when an internal error occurs. The Error event is usually fired when the control is bounded to an ADO Recordset. For instance, if the user changes a field, the control tries to update the current record. If it fails, the Error event is fired. Use the DataSource property to bind the control to a database.