# Data source - 'create new row' doesn't work in a loop

**URL:** https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812
**Category:** Questions about Thunkable X
**Created:** [October 14, 2020, 11:40am UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812 "2020-10-14T11:40:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tutzing](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@tutzing](https://community.thunkable.com/u/tutzing)
#### Post date: [October 14, 2020, 11:40am UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812/1 "2020-10-14T11:40:36Z")

</div>

Hello thunkers

‘create new row’ adds one row to a Data Source. That work’s fine. However, to upload multiple data rows from an API into the data source I use a loop containing the ‘create new row’ block.

Much to my surprise only one row gets created. Irregardless, how many times the loop runs.

Is there a work-around?

 ![Screen Shot 2020-10-14 at 13.37.44](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f704e196383b38f6b1237f83d57ee8ec0330d667.png)

---

<div class="post-metadata">

### Author: ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)
#### Post date: [October 14, 2020, 12:05pm UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812/2 "2020-10-14T12:05:17Z")

</div>

Many people are expressing problems with the create row block,  
I encountered these problems in my experience, in this particular case linked below, I was able to “fix it”, give it a try ⬇

> [@Absolute positioning and Data Viewer Custom Layouts](http://community.thunkable.com/t/absolute-positioning-and-data-viewer-custom-layouts/843447/18):
>
> That’s just cause I decided to change the original picture with a more fitting one created on purpose, it’s not that the problem, picture is wrong,and those blocks work if I use the OLD localDB commands. I think I just found the cause and I hope you can do something about it: Data sources IS SLOW. It might be due to the fact that it pulls every row from the airtable db, I just ‘solved’ one problem I was having, but I can’t wait 1 second for every row of the database, I’m going to add pictures…

Also, @domhnallohanlon @Domhnall, you problably will want to group all the different posts on the create row topic, included mine I just linked.

Thx

---

<div class="post-metadata">

### Author: ![doctorsof](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/doctorsof/32/30099_2.png) [@doctorsof](https://community.thunkable.com/u/doctorsof)
#### Post date: [October 14, 2020, 4:04pm UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812/3 "2020-10-14T16:04:08Z")

</div>

Is it working with date input or something like that i mean without loop?

---

<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: [October 14, 2020, 4:52pm UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812/4 "2020-10-14T16:52:00Z")

</div>

I don’t think the Create Row block can run in a loop that quickly. I think you might need some delay or you might have to nest the Create Row blocks inside the “do” section (note that this will currently **not** work because of a known bug. See [Create row block not working well from yesterday](http://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050). Also see the link @maxb posted above.

---

<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:22pm UTC](https://community.thunkable.com/t/data-source-create-new-row-doesnt-work-in-a-loop/900812/5 "2024-11-08T12:22:06Z")

</div>


