Changing Error Messages
Data Access and Views DB Link error messages are translated in message database files.
-
Data Access error messages are located in:
$ILVHOME/data/dataccess/dataccess.dbm
-
Views DB Link error messages are located in:
$ILVHOME/data/dataccess/dblink.dbm
The following code sequence is necessary to ensure that error messages are correctly translated:
IliFormat::ReadMessageDatabase(display, "dataccess/dataccess.dbm"); IliErrorMessage::ReadMessageDatabase(display);
IliFormat::ReadMessageDatabase(display, "dataccess/dblink.dbm"); IliSQLSession::ReadMessageDatabase(display); |