# Help me please, global variable

**URL:** https://community.glideapps.com/t/help-me-please-global-variable/17943
**Category:** Ask for Help
**Created:** [November 4, 2020, 3:24pm UTC](https://community.glideapps.com/t/help-me-please-global-variable/17943 "2020-11-04T15:24:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Leblanc\_Thierry](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/leblanc_thierry/32/16044_2.png) [@Leblanc\_Thierry](https://community.glideapps.com/u/Leblanc_Thierry)
#### Post date: [November 4, 2020, 3:24pm UTC](https://community.glideapps.com/t/help-me-please-global-variable/17943/1 "2020-11-04T15:24:53Z")

</div>

Hello,  
I want to have an application who can tracking my expenses on a monthly basis

I have a google sheet with column month, year, salary (november, 2020, 1500€)  
I have a google sheet Category with column description (ex: food, car fuel, car insurance, mortgage loan…)  
I have a google sheet Transaction with column month, description, amount (ex: november, Gazoil, 50€, etc…)

I want at startup of the application, to choose or encode new month, year, salary.  
And after, when I encode my transactions… each transaction refer the same month

When I change the month on startup, new transactions refer the new month…

I don’t see how to do that without encode the month in the same time I encore the transaction…

Is there a way to have a global value I can reffer when I want ?

Thank for you help

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [November 4, 2020, 3:55pm UTC](https://community.glideapps.com/t/help-me-please-global-variable/17943/2 "2020-11-04T15:55:16Z")

</div>

> [@Leblanc\_Thierry](#):
>
> When I change the month on startup

If I understand this right, you can write that to a column in the data using a text entry/choice component.

Then in the form, have the default value for the month point to the column above. Would it work?

---

<div class="post-metadata">

### Author: ![Leblanc\_Thierry](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/leblanc_thierry/32/16044_2.png) [@Leblanc\_Thierry](https://community.glideapps.com/u/Leblanc_Thierry)
#### Post date: [November 4, 2020, 4:19pm UTC](https://community.glideapps.com/t/help-me-please-global-variable/17943/3 "2020-11-04T16:19:47Z")

</div>

> **[Depenses](https://neat-name-1316.glideapp.io/)**

---

<div class="post-metadata">

### Author: ![Leblanc\_Thierry](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/leblanc_thierry/32/16044_2.png) [@Leblanc\_Thierry](https://community.glideapps.com/u/Leblanc_Thierry)
#### Post date: [November 4, 2020, 4:21pm UTC](https://community.glideapps.com/t/help-me-please-global-variable/17943/4 "2020-11-04T16:21:30Z")

</div>

If i understand you, yes … i must choose a month each time I insert a row with help of the form

I want not to choose the month each time
