# Is it safe to use row numbers for data source references?

**URL:** <https://community.thunkable.com/t/is-it-safe-to-use-row-numbers-for-data-source-references/971462>\
**Category:** Questions about Thunkable X\
**Created:** [November 13, 2020, 4:21am UTC](https://community.thunkable.com/t/is-it-safe-to-use-row-numbers-for-data-source-references/971462 "2020-11-13T04:21:33Z")\
**Posts on this page:** 3\
**Page:** 1

<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 13, 2020, 4:21am UTC](https://community.thunkable.com/t/is-it-safe-to-use-row-numbers-for-data-source-references/971462/1 "2020-11-13T04:21:33Z")

</div>

I’ve been wishing for a while that you could reference data sources by their row index # rather than their row ID (which is a long string of seemingly random characters). And now I see that you can do this… I’m not sure when that changed or if I just assumed it hadn’t worked before.

Is it reliable to use numerical values to reference data source rows? I’m considering replacing my somewhat tedious method of storing row ID values in a list as I create rows and then checking the list for the values… with just a simple “3” for the third row. No more need to store anything.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [November 13, 2020, 11:28am UTC](https://community.thunkable.com/t/is-it-safe-to-use-row-numbers-for-data-source-references/971462/2 "2020-11-13T11:28:52Z")

</div>

If rows are inserted or sorted, there will be wailing and gnashing of teeth.

With airtable and Google sheet with just one user modifying data it might be okay. SQL databases are often non-deterministic, do the 3rd row could contain almost anything from query to query, so it is a big no-no in general.

---

<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:21pm UTC](https://community.thunkable.com/t/is-it-safe-to-use-row-numbers-for-data-source-references/971462/3 "2024-11-08T12:21:40Z")

</div>

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


