Ok, I see the problem...
If you have room on your form for a button, you could add the code to the on-click event for the button instead of the update event of the memo field. You could then give the button a caption like "&insert" (this underlines the letter i, indicating that alt+i is the...