Hi, i want to capture the database error codes, for example, adding a duplicated record, the database will return an error as belows<BR><BR>The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again. <BR><BR>Other operations like update, delete will have their error codes. instead of letting the user to see the above, can we make a customized message. thanks