I want to replace the system error message instead of mine.
I have a form, when click the button, I have this error message popped up
"frm-41045: Cannot find item:invalid ID"
then open a linked form
I want to display this message as something like "No detail data" instaead this message, then open the linked form
I have something like this in the when-button-pressed
IF error_code = 41045 THEN
message('No detail record data');
But it doesn't work. How to fix it?