Hi,
How to trap and/or translate the lock message ?
Thanks
Carlos
translation lock message
You can use the OnError event of TUniConnection to process the error.
The error for a locked record may have different error code and text for different DBMS. To know that an exception is a lock error, you need to compare the error code or message of the exception to some values specific for each provider.
Then you can assign another value to the Message property of an exception.
The error for a locked record may have different error code and text for different DBMS. To know that an exception is a lock error, you need to compare the error code or message of the exception to some values specific for each provider.
Then you can assign another value to the Message property of an exception.