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
Piotr Wycichowski
Is it something when a user tried to use any of AI commands in SERP? /Piotr W....
10:07 8 Nov 2024
Brittany McGrath
Thank you for your post Lilian. I see this post has been submitted twice and the second post is being addressed so I will close this duplicate. Thank you. ...
09:41 5 Nov 2024