# Cancel a booking

**URL:** <https://community.glideapps.com/t/cancel-a-booking/16296>\
**Category:** Ask for Help\
**Created:** [September 24, 2020, 2:48pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296 "2020-09-24T14:48:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meri/32/2514_2.png) [@Meri](https://community.glideapps.com/u/Meri)\
**Post date:** [September 24, 2020, 2:48pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/1 "2020-09-24T14:48:41Z")

</div>

Hi all,

I’m building a simple app for my company and am trying to create a ‘cancel booking’ button which would erase the line entry on screen. I’m struggling to find a way to make this work?

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![\_eric](https://avatars.discourse-cdn.com/v4/letter/_/5f9b8f/32.png) [@\_eric](https://community.glideapps.com/u/_eric)\
**Post date:** [September 24, 2020, 2:50pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/2 "2020-09-24T14:50:19Z")

</div>

The only way that I know how to do it is on the edit screen. From there you can delete.

If you would like a button do delete the booking, you could use an increment action to “hide” the booking and then filter your view to only show records that are not hidden. But in this case they wouldnt be technically deleted. Just hidden.

---

<div class="post-metadata">

**Author:** ![Meri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meri/32/2514_2.png) [@Meri](https://community.glideapps.com/u/Meri)\
**Post date:** [September 24, 2020, 2:53pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/3 "2020-09-24T14:53:55Z")

</div>

Sorry if this is a stupid question but how do you create an edit screen? (Very new to this!)

---

<div class="post-metadata">

**Author:** ![\_eric](https://avatars.discourse-cdn.com/v4/letter/_/5f9b8f/32.png) [@\_eric](https://community.glideapps.com/u/_eric)\
**Post date:** [September 24, 2020, 2:55pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/4 "2020-09-24T14:55:52Z")

</div>

Navigate to the booking record screen. Then to the right of the LAYOUT tab you will see another tab called EDIT. Select that tab and then select “Allow users to edit”.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 24, 2020, 2:57pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/5 "2020-09-24T14:57:57Z")

</div>

@Meri

In the builder, in a component’s sidebar:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/2173247f7fcc519abc011e8ca9fc63b6c3acb823.png)

---

<div class="post-metadata">

**Author:** ![Meri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/meri/32/2514_2.png) [@Meri](https://community.glideapps.com/u/Meri)\
**Post date:** [September 24, 2020, 3:03pm UTC](https://community.glideapps.com/t/cancel-a-booking/16296/6 "2020-09-24T15:03:22Z")

</div>

Thank you so much this was super helpful!
