Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 15781, Utility to customize IB (InterBase) error messages

by Sebastian Mayora Email:

Change IB error messages like "Operation violates check constraint XXX in table or view YYYY" to something more significant to you.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 4.0  to 6.0 569 downloads
Copyright: Open Source or other

Size: 20,119 bytes
Updated on Fri, 06 Apr 2001 18:13:28 GMT
Originally uploaded on Tue, 27 Mar 2001 13:51:55 GMT
MD5 Hash: AA1AABEA181B20AB2EC89E694D99BC72

    Explore the files in this upload

This program generates a unit with your custom messages for each interbase error message (they realy stinks). Put in your proyect and call a function.
Steps (Sorry for my bad English, I know, it stinks)
1- Insert the (Interbase) Database filename (.gdb)
2- Insert password and user name
3- Press Get Message button to get Checks (and foreign keys) from database (e.g. INTEG_2=).
4- Beside "=" write your custom message for each interbase error. You can delete the lines not used or not important.
5- Press F1 to obtain check's source code (if any).
6- Press Generate Code button, insert the name of the new unit and press Save Generated Unit button.

In your Application:
1- Add to your program the generated unit;

Note 1: You must handle Application Exceptions (with a TApplicationEnvents component ..OnException event).
Note 2: Tested with Interbase 6.0 and IBX 4.3 (TIBQuery)

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03