# Is this block gonna work?😭

**URL:** <https://community.thunkable.com/t/is-this-block-gonna-work/2739649>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, spreadsheets, help\
**Created:** [December 5, 2023, 12:05pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649 "2023-12-05T12:05:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sommaikaipakkad4nitr](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sommaikaipakkad4nitr](https://community.thunkable.com/u/sommaikaipakkad4nitr)\
**Post date:** [December 5, 2023, 12:05pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/1 "2023-12-05T12:05:29Z")

</div>

Hi. I do this app for school project and i get this problem. I use data from sheet4 that is sorted from sheet1 but if i delete by left swipe for row id “row id” it will take the row id from sheet4 to delete in sheet1. So, I want to know if this blocks gonna work or is there any block can solve my problem.  
Ps. Sorry for my poor English communication.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/e/4e8e81546d743b16e25d4eef39ab733e31cd178e.jpeg)

---

<div class="post-metadata">

**Author:** ![sommaikaipakkad4nitr](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sommaikaipakkad4nitr](https://community.thunkable.com/u/sommaikaipakkad4nitr)\
**Post date:** [December 5, 2023, 12:09pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/2 "2023-12-05T12:09:17Z")

</div>

It’s not working.😭😭

---

<div class="post-metadata">

**Author:** ![emlee703](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emlee703/32/165400_2.png) [@emlee703](https://community.thunkable.com/u/emlee703)\
**Post date:** [December 5, 2023, 1:51pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/3 "2023-12-05T13:51:16Z")

</div>

@sommaikaipakkad4nitr Welcome to the Community!

Please check out these links on how to post in the future: [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1) + [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78)

Can you please share a link to your project?

Can you also be a little **more specific** in your question, and add **more detail** about what you’re trying to do. I understand your English is not great and I understand that you can always reply in another language for me to translate, that’s no problem!

**Hint** : Before you read posts and reply to posts, look at the topic, and read the post carefully, so you don’t mess up your response like I did many times in the past and will probably do again.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [December 5, 2023, 2:12pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/4 "2023-12-05T14:12:08Z")

</div>

Row ID cannot be an object as you are calling it here. It’s either a string that you enter or you can use the green `row id` block.

Each row has its own unique 24 character ID–that is what the green `row id` block is referring to. You must use this ID to refer to rows of your Airtable and Local data sources in the blocks below.

If your data source is a **Google Sheet** , you can refer to the row by its integer position (1 for the first row, 2 for the second row, etc.)

---

<div class="post-metadata">

**Author:** ![sommaikaipakkad4nitr](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sommaikaipakkad4nitr](https://community.thunkable.com/u/sommaikaipakkad4nitr)\
**Post date:** [December 5, 2023, 3:39pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/5 "2023-12-05T15:39:44Z")

</div>

Thank you so much, I’ll try!

---

<div class="post-metadata">

**Author:** ![sommaikaipakkad4nitr](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sommaikaipakkad4nitr](https://community.thunkable.com/u/sommaikaipakkad4nitr)\
**Post date:** [December 5, 2023, 3:40pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/6 "2023-12-05T15:40:22Z")

</div>

🥺✨

---

<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 5, 2023, 3:53pm UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/7 "2023-12-05T15:53:58Z")

</div>

Delete the ‘get row object’ block. Just use the green ‘row id’ block as the row id when deleting a row.

---

<div class="post-metadata">

**Author:** ![sommaikaipakkad4nitr](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sommaikaipakkad4nitr](https://community.thunkable.com/u/sommaikaipakkad4nitr)\
**Post date:** [December 6, 2023, 2:34am UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/8 "2023-12-06T02:34:35Z")

</div>

I’ll explain what I’m doing again.  
My app working steps are

1. Fill in information through the Thunkable app. It will be information Food name and expiration date  
-The entered information will be in sheet1.  
-I sorted the data from sheet1 by date. Got it as data in sheet4  
-I used the function datedif in sheet1 and filtered the data from sheet4. By giving the value from datedif\<8. I named the sheet “\<8”
2. I imported data into data viewer list from sheet named “\<8”.
3. I swipe left to delete from data viewer list but I want it to delete data in sheet1 so I use the block that delete sheet1.  
-Can it do that?

I tried using the green “row id” block but it uses row number of sheet “\<8” comes to delete sheet1 data with that row number.  
Ex. In photo

 ![IMG_0557](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/23c0f1c5ddd1ecde54f1b0675768eea69116b80f.jpeg)  
 ![IMG_0556](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/e/5e14a7230445363e8830d4a2dbccdedb246e8530.jpeg)  
 ![IMG_0555](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/e/3e642a1a09ea39150d14094abd2677fff65bbde0.jpeg)

---

<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:** [March 5, 2024, 2:35am UTC](https://community.thunkable.com/t/is-this-block-gonna-work/2739649/9 "2024-03-05T02:35:22Z")

</div>

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