# Delete a Record from a different Source from a Form Screen

**URL:** <https://community.glideapps.com/t/delete-a-record-from-a-different-source-from-a-form-screen/74766>\
**Category:** Ask for Help\
**Created:** [July 10, 2024, 2:06am UTC](https://community.glideapps.com/t/delete-a-record-from-a-different-source-from-a-form-screen/74766 "2024-07-10T02:06:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Page](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sean_page/32/77424_2.png) [@Sean\_Page](https://community.glideapps.com/u/Sean_Page)\
**Post date:** [July 10, 2024, 2:06am UTC](https://community.glideapps.com/t/delete-a-record-from-a-different-source-from-a-form-screen/74766/1 "2024-07-10T02:06:58Z")

</div>

**All Tables and Views are on Azure Postgres**

1. I have a table that is added to that stores an ID for a relative item in two other tables.  

2. I have a view that joins this information in Postgres and shows all relative information.  

3. They Layou and Collection in displaying the View with the tables joined.

4. I have the “Add Row” working to create a new row in the first table and then the submit action refreshes the View data source.

5. The native Delete doesn’t work of course because it is a view, but I made a new Form and attempted to set the Action to Delete This row along with some field data to verify it is the correct row. However, when I use the delete action I get a Null constraints error.  

Here is the error message, but it is like it’s trying to wipe the contents vs deleting the row. Notice the item\_id does match.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/0/c092fb02172793d723e9bfba04152e13934987d8.png)

Anyone have any suggestions to be able to delete the associated row in the other table?

Thank you in advance!
