# Please Help. I can;t use loop (count with or repeat)

**URL:** <https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164>\
**Category:** Questions about Thunkable X\
**Created:** [September 15, 2019, 5:09am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164 "2019-09-15T05:09:55Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 17, 2019, 11:01am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/24 "2019-09-17T11:01:13Z")

</div>

Yes. I created 50 labels which name is ID0-49

---

<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:** [September 17, 2019, 11:03am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/25 "2019-09-17T11:03:41Z")

</div>

Now I understand. The fact that the blocks Any need to specify a unique identifier of the Labels, but not the name. These are different things. Any blocks with names of the components do not work yet.

You’re right, this point is not shown in the documentation and novice users can not understand why it does not work.

For operation Any units need UUID. You have a Name. You need to create a function that will return the UUID for transferred in it Name. For example, you pass an ID4, and it returns the UUID - F5657FTGH-0000FRTD etc. You understand how to solve this problem?

---

<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:** [September 17, 2019, 11:35am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/26 "2019-09-17T11:35:54Z")

</div>

Easily convert Name to ID

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

---

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 17, 2019, 12:13pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/27 "2019-09-17T12:13:25Z")

</div>

Thanks for guide. It seems like difficult.  
I don’t know why but I should make it something new list with new variable.

Now I’m analyzing your sample. and you use “all Label in Screen”  
And I’m confused because there are another Label too.  
I have another 50 Labels named “profile” or “hash”.

So If I set “All Labels” it will crush. But I believe there is another way.  
I will try and study. Thanks a lot.

I’m trying to make curated list. I think my code is fail.  
I should use ListViewer but I didn’t Is It right?  
I’m very confused 😂

---

<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:** [September 17, 2019, 1:17pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/28 "2019-09-17T13:17:16Z")

</div>

In my example, I use the block “all Label in Screen”, because they are on the screen. If your are in the Column, then you must specify this Column.

Suppose you have 100 the Label, and you need to change only 10 of them. To do this, you should ask a suitable condition and filter out only the Label, which correspond to this condition.

Your task is much easier to solve with the help of ListViewer, but so far no ListViewer Thunkable X with the desired functionality. You can wait for its release or to come up with a workaround to solve your problem.

---

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 17, 2019, 1:28pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/29 "2019-09-17T13:28:35Z")

</div>

Yes but my screen is like this.  
I cant imagine how to filter it…  
Cause I made it by row.  
And my labels are blocked by row.

Maybe I need another way.

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

---

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 17, 2019, 5:48pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/30 "2019-09-17T17:48:09Z")

</div>

But if I measure speed with this block. (I don’t know I’m doing right.)  
It shows 0.07sec - is it possible?  
but reality is 7~8sec

---

<div class="post-metadata">

**Author:** ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)\
**Post date:** [September 17, 2019, 6:11pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/31 "2019-09-17T18:11:20Z")

</div>

> [@discoshm6](#):
>
> Maybe I need another way.

Yes, maybe what you need is ID\_a, ID\_b and ID\_c; Profile\_a, Profile\_b, Profile\_c etc.  
And what you could use is a logic that _assigns_ what you presently put into dedicated ID, profile, image and font (50 of them) to a re-used limited display of perhaps 3 (a, b and c).  
That way, you can even have far more that 50 entries without having to change the program or add components, with the a, b and c being only a window into the whole list.  
I.E. when you are at the top, ID\_a shows what you presently show as ID0, and ID\_b shows ID1. Scroll down one, and ID\_a shows ID1, while ID\_b shows ID2. Scroll again, and ID\_a shows ID2.  
And you do not have to assign ID23 to anything until the user has scrolled over 20 times.

---

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 28, 2019, 6:42pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/32 "2019-09-28T18:42:02Z")

</div>

I tried. But It’s too difficult for me…😂  
I got what you mean. but I dont know how…😂

If I share my share link can you do it for me?  
Actually I asked some professional at Fiverr with money.  
But they couldn’t. I’m so sad.

I can’t make it with “make list”  
So I tested it by menual.  
I tried it without loop. It means I made a lot of blocks menually.  
And I deleted all of pics for test.  
I call 4 rows and each rows has 8 value for test  
so I call 32 value total. but it is still slow.

---

<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:** [September 28, 2019, 8:14pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/33 "2019-09-28T20:14:52Z")

</div>

I think we can see your project, but for this it must contain real data, because it often happens that we solve the problem and the user says that actually he data are quite different.

In Thunkable X is slow not only block _create_ and _clone_. Data on the screen, so I’m not surprised that you manually created the 32 components are also displayed slowly, but it’s not fast enough. We must look for ways to optimize.

---

<div class="post-metadata">

**Author:** ![discoshm6](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@discoshm6](https://community.thunkable.com/u/discoshm6)\
**Post date:** [September 29, 2019, 4:23am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/34 "2019-09-29T04:23:13Z")

</div>

Thank you for helping me.  
Here is mine. It include firebase key. I know it can be dangerous but don’t worry it’s for test.

[https://x.thunkable.com/copy/3e54ebb219ed6bce4eee68b404f6ec46](https://x.thunkable.com/copy/3e54ebb219ed6bce4eee68b404f6ec46)

My problems are

1. It is very slow for loading date
  - tried to exclude images but it was same.

2. Should make individual block for buttons.  
so I should a lot of blocks for buttons
3. Want to make save firebase data to local db.  
So that it load when firebase data is updated

---

<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:** [September 29, 2019, 7:50am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/35 "2019-09-29T07:50:53Z")

</div>

Well, I’ll see it.

---

<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:** [September 29, 2019, 9:19am UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/36 "2019-09-29T09:19:15Z")

</div>

Access to Firebase in app no. Can you give me access in personal message?

---

<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:08pm UTC](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164/37 "2024-11-08T12:08:50Z")

</div>

Closed on November 8, 2024, 12:08pm UTC



[Previous page](https://community.thunkable.com/t/please-help-i-can-t-use-loop-count-with-or-repeat/227164.md?page=1)
