# Can't use increment on field that I can set a value directly to

**URL:** <https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158>\
**Category:** Ask for Help\
**Created:** [November 27, 2023, 8:44am UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158 "2023-11-27T08:44:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)\
**Post date:** [November 27, 2023, 8:44am UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/1 "2023-11-27T08:44:27Z")

</div>

I have setup 2 buttons that set the same column with different data. One button that sets the value directly with the current week num works fine.  
The other button uses increment to -1 from the value - but it will not let me choose the same column.  
Any idea why this is the case?

This works fine:

 ![Screen Shot 2023-11-27 at 9.40.56 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/7/c767591946a8ac19f6b7b72ed879ff65c76b73f1.png)

This won’t save the chosen column (Week Num/Chosen):

 ![Screen Shot 2023-11-27 at 9.41.19 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/f/9f3185593fb2321b18a65d4e45447df633da9e46.jpeg)

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [November 27, 2023, 9:59am UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/2 "2023-11-27T09:59:04Z")

</div>

Check the column type for Week Num/Chosen… is it a number?

To workaround you could use a math column… value - 1… and set the math column result instead of an increment.

---

<div class="post-metadata">

**Author:** ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)\
**Post date:** [November 27, 2023, 7:06pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/3 "2023-11-27T19:06:03Z")

</div>

THanks Eric. It is a number (you can see that in the bottom screenshot). The really odd thing is that the same logic works elsewhere. I will resort to the math approach if needed… but does seem like a bug to me 🙂

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 27, 2023, 7:20pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/4 "2023-11-27T19:20:13Z")

</div>

> [@AdamMartin](#):
>
> This won’t save the chosen column (Week Num/Chosen):

Can you explain what you mean by this? Do you mean that when you select the Chosen column, it does not register that you have selected it? Have you tried clearing browser cache or try a different browser?

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [November 27, 2023, 7:43pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/5 "2023-11-27T19:43:26Z")

</div>

I just tested and think I know what you mean … it doesn’t work to increment through single value → whole row… or single relations 🤔

---

<div class="post-metadata">

**Author:** ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)\
**Post date:** [November 27, 2023, 8:34pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/6 "2023-11-27T20:34:46Z")

</div>

Yeah… it doesn’t register as being selected (even though it is availabe to be selected).

---

<div class="post-metadata">

**Author:** ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)\
**Post date:** [November 27, 2023, 8:36pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/7 "2023-11-27T20:36:08Z")

</div>

I got around it by creating an additional screen (overlay) that then has the functionality I need… by associating that screen with the related settings value. But yeah, I would consider this a bug??

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [November 27, 2023, 9:08pm UTC](https://community.glideapps.com/t/cant-use-increment-on-field-that-i-can-set-a-value-directly-to/68158/8 "2023-11-27T21:08:15Z")

</div>

Ya I think you’re right… and may have been that way for a while. Looking at some of my apps when increment is used I planned around it being available for ‘this item’.

Maybe a few others could confirm 😉

> [@How to open a support ticket?](https://community.glideapps.com/t/how-to-open-a-support-ticket/59883/2):
>
> Please note: the option to create a support ticket is only available if your App is in a Pro, Business or Enterprise Team. If you need help with a Billing Issue (on any plan), you should open a Billing Enquiry via the [Glide Support Page](https://www.glideapps.com/support). To create a Support Ticket: Open the App that is giving you problems, and go to Settings → Contact Support: Glide will prompt you to create a support link for your App. Click on Create Link:
