RecordCheckError Information programatically
Gastón Salomone
2-11-20
Hi,

After calling any record insert, save, update or delete function any error could happend.

But this error only appears to user or is logged in hansa.log

Is there any way to get the error, with any hal function, that could happend when those functions, for example RecordInsert return false.

I found RecordCheckLastErrorNo but I want not only the number, also de field, the message and the row Id of the error.

Regards
Edgars Dzenis
2-12-20
Hi, there's no universal tool to do that.
What You can do is edit needed functions to log in the message if there's an error(for example XXVcRecordSave/XXVcRecordUpdate/XXVcRecordRemove)
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Aldevinas Katkus
I confirm v. 2024-03-16 has issues. v. 2024-12-03 also had the same issue, but "less expressed"....
11:13 2 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024