# Broken block and more. Do others have the same problems

**URL:** <https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420>\
**Category:** Questions about Thunkable X\
**Created:** [August 20, 2019, 7:31am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420 "2019-08-20T07:31:23Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 7:31am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/1 "2019-08-20T07:31:23Z")

</div>

I really have some strange behavour in my thunkableX.

Problem. 1. my Airtable(also the DB) block often “brakes”. See [Dropbox - File Deleted](https://www.dropbox.com/s/i9vi2vhyg18o96k/Broken%20block.mp4?dl=0) And then I have the feeling of other blocks dont work either and if I delete the block and make a nother one absolute the same it is working fine. What can I do wrong or is there a solution for this?

Problem 2.: I can not scroll down the left menu. See video [Dropbox - File Deleted](https://www.dropbox.com/s/fe7bfrpolono1oq/Scroll%20problem.mp4?dl=0)

Does anyone else have the same problem as the above???

Problem 3: In this function I search in brutto\_liste for the stored name. In this case Lene.  
There is not a consistens in the result. The 6 time and the 9 times I opdate it only read Ole ones. Even if it read Lene in the top label that is the right one. It should be impossible to get the Ole name.

Picture of the airtable I use -

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/30ca9a34e6b2fb71d66bc8b6216f3b07cc185c43.png)  
Picture of the blocks - ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0e38042809835089bd7a744cbb649e9b50169acb.png)  
Video of what happends on the Phone. - [Dropbox - File Deleted](https://www.dropbox.com/s/7mlixlwm1ps8qg2/video-1566284844.mp4?dl=0)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:16am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/2 "2019-08-20T08:16:22Z")

</div>

1. Green blocks attached to purple blocks are predefined blocks of local variables. If you do not need problems, then it’s better not to touch or move these blocks at all. Make a copy of these blocks and move them.

2. Which browser are you using? I use the Yandex browser, which works for me the fastest with ThunkableX. Try my project. Delay 1 sec in Yandex browser - [https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/](https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/)

3. Instead of the variable “app” use the variable from the function parameter and tell me, is the problem gone?

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 8:18am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/3 "2019-08-20T08:18:39Z")

</div>

Okay thanks alot. Very nice to know. 🤩  
Can you help me with the other isues also please …🤔

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 8:23am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/4 "2019-08-20T08:23:00Z")

</div>

i use chrome browser. You think I should use the other you mensioned?  
Can you explain or show me the blocks you mean in you last answer regarding the Variable App?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:24am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/5 "2019-08-20T08:24:27Z")

</div>

Add a function block to the screen, create a parameter for this block. Use this parameter as a variable. Do you understand this explanation?

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 8:25am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/6 "2019-08-20T08:25:56Z")

</div>

So sorry but no. 🥴

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:26am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/7 "2019-08-20T08:26:53Z")

</div>

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/7/d777ef4ae9e44c2bfe1eab54e8e74e6fb1084f9d.png)

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 8:28am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/8 "2019-08-20T08:28:12Z")

</div>

ohh yes now i follow you i think. Should that be more cosistent in the result?  
I just havent used that so much. But that shuld be better  
Is there i better way to make the index. With the repeat until methode or other???

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 8:30am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/9 "2019-08-20T08:30:48Z")

</div>

The community has noticed that global variables are unstable in some cases. Therefore, I use function variables. But you must understand that global variables and function variables work differently. If you understand the difference between passing parameters by value and by reference, then you can safely use function variables. But Mark warns that the behavior of function variables may change in the future.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 9:27am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/10 "2019-08-20T09:27:32Z")

</div>

Can global variable be the reason to the index counting in the if block not seem to be working right???

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 9:56am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/11 "2019-08-20T09:56:17Z")

</div>

I don’t know if this could be the reason, but my personal opinion is to use only function variables everywhere, and use global variables only when you need to get data on different screens. Simply put - I try not to use global variables.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 10:23am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/12 "2019-08-20T10:23:00Z")

</div>

How will you make this function"get\_Point" then.  
I can not get the “spiller\_nr” to count right:disappointed\_relieved:  
Hope you can clearyfi this isue for me.😡

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a392b6f94a2b2a53f2c80666b5de32a4b8bd443c.png)  
Here is what happend in the app. It is counting crazy [Dropbox - File Deleted](https://www.dropbox.com/s/exumys8evwmr0ym/video-1566296185.mp4?dl=0)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 1:23pm UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/13 "2019-08-20T13:23:16Z")

</div>

You are using the GetColumn call in a loop. I would have done differently - at first I got all the records from AirTable, and then I started working with the list locally - I created a loop on this list, filtered the necessary values ​​into the list and then calculated their sum.

You also use the “wait” block. In the vast majority of cases, the use of this block indicates a problem in the algorithm.

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 20, 2019, 1:46pm UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/14 "2019-08-20T13:46:21Z")

</div>

so you mean get all rows? If yes we have been looking at that. But can not find any help with  
the get object and Jason that I have to use. Isn’t that right

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 20, 2019, 3:43pm UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/15 "2019-08-20T15:43:39Z")

</div>

When you download all the records from AirTable, you get a list of objects. If you get a list of objects, then you can get their properties. You only need to work with it correctly.

scrAirTable in [https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/](https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [August 21, 2019, 7:51pm UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/16 "2019-08-21T19:51:40Z")

</div>

Hi Actec.  
I tryed yester day making more functions with variables. But the result of that is that Thunkable get incerdible slow. But that seems to be a common problem in the program,

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 22, 2019, 9:34am UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/17 "2019-08-22T09:34:20Z")

</div>

Slow work has different sources. If you are talking about the slow operation of the block editor, then this is one reason. If the slow operation of the application on the device is another reason.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:11pm UTC](https://community.thunkable.com/t/broken-block-and-more-do-others-have-the-same-problems/188420/18 "2024-11-08T12:11:49Z")

</div>


