Delete link not working

Delete link not working

  
I have input a delete function on one of my webpages. However, when i tried to delete a record after i have published, it shows an error which stated as the following.

"The DELETE statement conflicted with the REFERENCE constraint "OSFRK_OSUSR_Y9B_INMATESINFORMATION_OSUSR_Y9B_FEEDBACKPARTIES1_FEEDBACKPARTIESID". The conflict occurred in database "outsystems", table "dbo.OSUSR_Y9B_INMATESINFORMATION", column 'FEEDBACKPARTIESID'.
The statement has been terminated."

I have tried many ways to my knowledge to amend this error but to no avail. Please help me on this! 
Thank you so much.

Regards,
Arif