Issue with confirmation message after insert.

I have a form, after inserting a new record it would redirect to insert mode. Perfect! But now I wanted to add a confirmation message.
Then I went to Application → Setting → Message after Insert.

When I tested, It would display the message with OK button but it would not redirect the form to insert mode. So I added sc_commit_trans() and sc_redir(appname, id=-1);
After insert, the form re-directed into a blank record but it did not display the confirmation message.

It seems to me that his might be a bug, does anyone know a workaround?
I’m using sc9.3

If you do an sc_redir then I think that you are intercepting the regular flow of the application and that the code to display is not touched. I don’t think thats a bug. Dit you try to exit(ref)?

I tried and it skipped the message. The only time it shows the message is when it reloads the record’s inserted. Even without the macros, the feature is not working correctly when the application is supposed to go into insert mode after inserting.

Update, the confirmation message is showing when I hit cancel instead of add. But no records are inserted. Its definitely a bug.