I am having a problem with deleting a portal record and it's likely I set something up incorrectly. When I try and delete just the comment from the portal it deletes the entire record from the One Choice table. Even if I switch to the Comments entry layout and delete the record from there it deletes that record from One Choice. I am not sure how to make it only delete the comment and not the entire student record from One Choice.
I have 2 tables:
In the Comments table I have a layout named Comments Entry
Then in the One choice table I have a Comments layout with my portal to the Comments table:
Here is my script for adding a comment:
Any help is always appreciated.