|
Advanced PowerBuilder DbError Event
Any database-related error in DataWindow triggers DbError event. To find out the error number, you need not refer to the SQLCA object, instead, you can refer to the event parameters. SQLDbCode gives you the database specific error number. SQLErrText contains the actual error message from the database. You can also see the SQL statement that caused this error by referring to SQLSyntax. The row number that caused the error can be found in the 'row' and buffer name in the Buffer parameter. We will be using this event, later in this session.
|