# Cannot detach default 'id' from 'get row object' block - Stuck on Local DB Export!

**URL:** <https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249>\
**Category:** Issues / Bugs\
**Tags:** beginner\
**Created:** [June 24, 2025, 3:24pm UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249 "2025-06-24T15:24:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnistor02ca6p](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dnistor02ca6p](https://community.thunkable.com/u/dnistor02ca6p)\
**Post date:** [June 24, 2025, 3:24pm UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249/1 "2025-06-24T15:24:27Z")

</div>

Hello Thunkable Community,

I’m incredibly stuck and looking for any possible workaround to proceed with exporting data from my local database.

The core issue: I am trying to retrieve all data from my `SubmittedPledgeDB` (local database) by looping through `number of rows` and using the `get row object from SubmittedPledgeDB for row id [ID]` block.

However, I cannot for the life of me detach the **default ‘id’ block** that comes connected to the `for row id` input. It’s causing an “incompatible connection” error because it’s a text type block trying to go into a number input. I’ve tried:

- Dragging it far away.
- Dragging it to the trash can.
- Deleting the entire `get row object` block and dragging out a fresh one. Nothing works; it remains stubbornly stuck or the new block instance has the same issue.

This problem completely _blocks my ability to loop through rows using the `i` (loop index) variable_\* as the `row id`.

Additional challenge: My Thunkable version/setup also **does not seem to have a direct `get all rows` block** for the local database, which would be an alternative to the loop-by-ID method.

My Goal To get all data from my `SubmittedPledgeDB` as a list of objects so I can then format it for CSV or Google Sheets export.

My Question to the Community:

1. Is there any workaround or alternative method within Thunkable’s blocks to reliably “get all data” (all rows as objects) from a local database, _without_ relying on the `get row object for row id` block?
2. Has anyone else encountered this specific issue of being **unable to detach the default ‘id’ block** from the `get row object`? How did you resolve it?

I’ve spent a lot of time on this and it’s quite frustrating that a fundamental block interaction is preventing me from moving forward. My logic for the export is ready if I can just get this data.

Thank you so much for any insights or help you can provide!

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

---

<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:** [June 24, 2025, 5:56pm UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249/3 "2025-06-24T17:56:10Z")

</div>

Hi @dnistor02ca6p, welcome to Thunkable! 🎉

As row ID you could use the “i” variable.

Be sure to check out [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1), the [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78/8), and our [Getting Started Guide](https://docs.thunkable.com/getting-started/get-started) to make the best of your Thunkable Community experience!

---

<div class="post-metadata">

**Author:** ![dnistor02ca6p](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dnistor02ca6p](https://community.thunkable.com/u/dnistor02ca6p)\
**Post date:** [June 24, 2025, 6:14pm UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249/4 "2025-06-24T18:14:37Z")

</div>

Thank you for the clarification! Yes, I understand that the ‘i’ variable is the correct one to use for the row ID.

However, I am facing a persistent technical issue: **I cannot detach the default ‘id’ block that automatically appears connected to the ‘for row id’ input of the `get row object` block.** This `id` block remains stuck, and because it’s an incompatible type (text instead of number), it physically prevents me from connecting the ‘i’ variable (or any other number block) to the ‘for row id’ input.

I have already tried:

- Dragging the ‘id’ block away or to the trash.
- Deleting the entire `get row object` block and dragging out a fresh one (the new one still has the same stuck ‘id’ issue).

Could you please provide a solution for **how to detach that ‘id’ block** , or advise on whether this is a known bug? If this block remains unusable, is there an **alternative method to programmatically retrieve all rows** from the local `SubmittedPledgeDB` (since I also don’t have a direct `get all rows` block in my version)?

Thank you for your continued help!

---

<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:** [June 25, 2025, 12:14am UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249/5 "2025-06-25T00:14:27Z")

</div>

You can’t detach the “id” block. It’s a placeholder. You should be able to connect a numeric value, text value, or variable such as _i_ to it. Are you able to share a link to your project?

---

<div class="post-metadata">

**Author:** ![dnistor02ca6p](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@dnistor02ca6p](https://community.thunkable.com/u/dnistor02ca6p)\
**Post date:** [June 25, 2025, 11:03am UTC](https://community.thunkable.com/t/cannot-detach-default-id-from-get-row-object-block-stuck-on-local-db-export/3948249/7 "2025-06-25T11:03:23Z")

</div>

I’ve sorted it out! It exports correctly!

Thanks!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82d5d32c7a8bd63b7bdf95dd73466d30131615a0.jpeg)
