Comments panel, deleteNote

I am trying to have two comments panel
-notes
-notestec
add, note is ok, every note goes to the data base. But delete notes in the second comment panel(notestec) its always deleating notes from the fist data base “notes”.
How can fix it?

You aren’t giving runPrepUpdate any SQL to run. Like the commented line.