# X button to update a listing that is from a database

**URL:** <https://forum.adalo.com/t/x-button-to-update-a-listing-that-is-from-a-database/10198>\
**Category:** Database\
**Created:** [March 11, 2021, 5:03pm UTC](https://forum.adalo.com/t/x-button-to-update-a-listing-that-is-from-a-database/10198 "2021-03-11T17:03:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![titovirtual](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/titovirtual/32/6747_2.png) [@titovirtual](https://forum.adalo.com/u/titovirtual)\
**Post date:** [March 11, 2021, 5:03pm UTC](https://forum.adalo.com/t/x-button-to-update-a-listing-that-is-from-a-database/10198/1 "2021-03-11T17:03:53Z")

</div>

I want a button to update a list which we can name for now “Listing” and that listing is populated or updated by the business owner’s account (which is using a different Adalo app). It is confusing I know, I have been chasing my tails for 2 days now.

I just want to have a lead that will point me as to how I can make a “button crash out one item in the list” and also have it not visible to the user who clicked the button.

Here is the diagram to help a bit:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/c/cfa3b602ed6296d8af4ff25c625a55765bd80f74.jpeg)

---

<div class="post-metadata">

**Author:** ![MatCas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/matcas/32/8578_2.png) [@MatCas](https://forum.adalo.com/u/MatCas)\
**Post date:** [June 25, 2021, 5:48pm UTC](https://forum.adalo.com/t/x-button-to-update-a-listing-that-is-from-a-database/10198/2 "2021-06-25T17:48:41Z")

</div>

Hi Tito, aparently is just a “logic” problem…  
Add a bool field (true or false) on to the class collection, then when the user clicks on the button, trigger an update to set the bool field to true, and then link to the other page, and then in the list just show a records list which will have bool field on false.

Regards  
Matias from Rimatcom
