# Needed help regarding airtable data source

**URL:** https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463
**Category:** Questions about Thunkable X
**Tags:** beginner, help, airtable
**Created:** [October 5, 2024, 8:20am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463 "2024-10-05T08:20:50Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [October 5, 2024, 8:20am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/1 "2024-10-05T08:20:50Z")

</div>

Hi team!  
I am new on thunkable  
I am building an attendance app where teachers will 1st add their students and when they add a student a row will be created in airtable with the student name as value under the column name(column name is the teacher’s name who is logged in). The name of teacher which is logged in is stored in stored variable USER, i want t that when the button is clicked a new row should be created (values for other columns will be empty and only the value for logged in user will be filled) but i dont find any block with which we can dynmically create row like it can only be done with if else , but what if in future ne teacher came in our organization?

So i tried to create row with object and fields but we cannot set the value of field to get from a variable (we have to set it in code only)

I think i explained everthing well now please help , how can i do that without using if else

---

<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: [October 18, 2024, 6:59pm UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/2 "2024-10-18T18:59:47Z")

</div>

Hello @japanjotsinghandgran  
Sorry for the late reply.  
Adding multiple conditions sounds a good solution for dynamic updates. [Loops](https://docs.thunkable.com/blocks/blocks/control#loops-blocks) can be used as well.

---

<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 18, 2024, 8:11pm UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/3 "2024-10-18T20:11:08Z")

</div>

Post an example of the spreadsheet data. It’s hard to know what to suggest without seeing how you’ve arranged the columns.

If you are adding a row and including the username, why does it matter if a new teacher joins? Their username would also be added to the rows that are created.

It can be helpful to provide screenshots of your blocks or a link to your project as well.

---

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [October 20, 2024, 5:28am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/4 "2024-10-20T05:28:32Z")

</div>

I tried but unable to find exact logic , can you please explain?

---

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [October 20, 2024, 5:36am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/5 "2024-10-20T05:36:37Z")

</div>

@tatiang

 ![Screenshot 2024-10-20 110126](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/39b37b45a75a455ed6a05ee3684321bbd2d4828d.png)  
In green there is the teacher’s name  
and in red are the students name.

blocks-

 ![Screenshot (19)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/c/ccbfba24d2380920695f242d3fb50b27a7981649.png)  
 ![Screenshot (18)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/1172798c979763b382aaf80e21469c617e6acaf6.png)  
 ![Screenshot (17)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/522c0dd1c587952d40456dec7222f57a5d288c87.png)  
 ![Screenshot (16)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/a/7ac2886d763a6ffccd70dd028629112cf0aa9512.png)  
 ![Screenshot (15)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/7/a7c728a48fb9fe0509b6f505b801a0d52e6a64bf.png)

Currently i am using blocks like this (this is hardcoded)  
The variable USER is the value of the user who is currently logged in  
In airtable a cloumn name is there with that user name

---

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [November 3, 2024, 11:47am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/6 "2024-11-03T11:47:18Z")

</div>

will i get reply? @tatiang @ioannis

---

<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 3, 2024, 3:33pm UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/7 "2024-11-03T15:33:55Z")

</div>

Make sure each column spot has a value. Instead of an empty block space, put an empty text string (“”).

Also, you need to create a loop using [Loop blocks](https://docs.thunkable.com/blocks/blocks/control#loops-blocks) if you want more than one row to be created.

---

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [December 2, 2024, 5:25am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/8 "2024-12-02T05:25:20Z")

</div>

i think you didn’t understand my question , it was that can’t i make it that it should be hardcoded, because the way i made it now it is working but thr thing is that i dont want hardcoded.

---

<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: [December 2, 2024, 7:09am UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/9 "2024-12-02T07:09:52Z")

</div>

When you are using Airtable, you should have a single row for each user. If your users are going to be teachers, then a row would have a teacher name, students names, etc. For that, you will need to restructure your database.

---

<div class="post-metadata">

### Author: ![japanjotsinghandgran](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@japanjotsinghandgran](https://community.thunkable.com/u/japanjotsinghandgran)
#### Post date: [February 24, 2025, 5:04pm UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/10 "2025-02-24T17:04:40Z")

</div>

ohk, means there is no solution except restructuring the database

---

<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: [May 25, 2025, 5:05pm UTC](https://community.thunkable.com/t/needed-help-regarding-airtable-data-source/3249463/11 "2025-05-25T17:05:30Z")

</div>

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