Getting update terminated error when clicking save button on new record on a custom table

Hey everyone,

I'm using the application in the menu on a custom table. I can click add then save fine, but when I click save before add it terminates that record.

If I could just hide the save button until after the record is added that'd perfect, but I don't want to mess up any OOB areas that are also using the application in their menu.

save error2.JPG

Save error.JPG