# Best Practice Databse

**URL:** https://community.thunkable.com/t/best-practice-databse/2104926
**Category:** Questions about Thunkable X
**Created:** [October 30, 2022, 9:38am UTC](https://community.thunkable.com/t/best-practice-databse/2104926 "2022-10-30T09:38:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [October 30, 2022, 9:38am UTC](https://community.thunkable.com/t/best-practice-databse/2104926/1 "2022-10-30T09:38:05Z")

</div>

Hello Folks,  
Suggestion of best practices wanted using Drag and Drop version

Example Use case: I have a text label stating “Hello all users”  
Without updating with a new release to App Store and Google play  
I want the text to change to “Happy Halloween all”

I can obviously not use the Cloud Store in Thunkabe but need an external DB. ( I guess)  
Can someone give me an idea of easiest way to do this ?

Thanks

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [October 30, 2022, 11:06am UTC](https://community.thunkable.com/t/best-practice-databse/2104926/2 "2022-10-30T11:06:54Z")

</div>

> [@stefansladdeneng1](#):
>
> Can someone give me an idea of easiest way to do this ?

Any external database works for this need. Firebase. Xano. Supabase. Airtable. Whichever.

The important part would ensuring your app has a pointer to the relevant cloud record such that when the app opens it doesn’t display data from memory but the cloud.

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [October 30, 2022, 11:24am UTC](https://community.thunkable.com/t/best-practice-databse/2104926/3 "2022-10-30T11:24:33Z")

</div>

OK Sounds great - How do i get the Firebase to communicate with the cloud… Thosw block does not exist do they ?

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [October 30, 2022, 11:43am UTC](https://community.thunkable.com/t/best-practice-databse/2104926/4 "2022-10-30T11:43:51Z")

</div>

Please go read the docs on cloud variables or watch this

[![](https://img.youtube.com/vi/KvFvSkG6G-k/maxresdefault.jpg "Cloud Variables - Save User Data to the Cloud in Thunkable Drag and Drop UI") ](https://www.youtube.com/watch?v=KvFvSkG6G-k)

It’s super easy

Firebase = cloud variables

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [November 13, 2022, 3:06pm UTC](https://community.thunkable.com/t/best-practice-databse/2104926/5 "2022-11-13T15:06:44Z")

</div>

Hello Again - I have checked these and other movies and i dont get it - (Sorry it sook so long time)

This is what i want to do and the problem i have…  
When an iteration is made i want to set the iteration number to “ITERATION = ITERATION + 1”  
When the number is set i want to add this iteration number - lets say 32 to a db (Grad iteration = Granditeration + iterations" ( so that all iterations from all is summarized into a grand total

Ths problem is that i do not undertstand how to move the numbers bac and forth to the Firebase DB as the Firebase DB blocks are removed.

It is super easy - i have heard - But the movie only reflects the sign is process available through  
firebase…

So can anyone give me a step by step process for it ? - How to get a number to a Firebase DB and how to pick ut up

Thanks in advance…

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 13, 2022, 4:54pm UTC](https://community.thunkable.com/t/best-practice-databse/2104926/6 "2022-11-13T16:54:18Z")

</div>

Let’s say your Firebase database looks like this:

Iterations  
 → GrandTotal

To change the value of the GrandTotal key by 1, you would do this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/c/9c20b980df12f053d0d3911571b5892a9f2396cd.png)

To get the value of the GrandTotal key, you would use this:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/a/0ae3abb6070480de61867149afaa5f6d20de84b3.png)

Those variable blocks are at the bottom of the Variables drawer and by default show “app” variable but you can change the drop-down menu to “cloud” variable:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/1/21800f8129d890c4a0dc74102ca79c490e54e5bb.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [February 11, 2023, 4:54pm UTC](https://community.thunkable.com/t/best-practice-databse/2104926/7 "2023-02-11T16:54:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
