# Add row into specific row ID - Local DB

**URL:** <https://community.thunkable.com/t/add-row-into-specific-row-id-local-db/3386949>\
**Category:** Questions about Thunkable X\
**Created:** [December 3, 2024, 3:50pm UTC](https://community.thunkable.com/t/add-row-into-specific-row-id-local-db/3386949 "2024-12-03T15:50:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuuzonessqnzvv](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@nuuzonessqnzvv](https://community.thunkable.com/u/nuuzonessqnzvv)\
**Post date:** [December 3, 2024, 3:50pm UTC](https://community.thunkable.com/t/add-row-into-specific-row-id-local-db/3386949/1 "2024-12-03T15:50:59Z")

</div>

Hi all,

Currently struggling with adding a new row into a local db. The local db has column ‘time’ with values E.g. 3, 50, 102.

A new value of E.g. 38 is created within the app and I want to add it into the local db but between the 3 & 50 values.

Counting through the local db and applying the logic would be,  
38 \< 3 = Do not create a row  
3 \< 38 \< 50 = Create row

However, the issue is once the row is created. It is at the bottom of the local db rows rather than between the 3 & 50 values.

Does anyone know how to create a new row within the local db between 2 values?

Many thanks,  
🙂

---

<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 3, 2025, 3:51pm UTC](https://community.thunkable.com/t/add-row-into-specific-row-id-local-db/3386949/2 "2025-03-03T15:51:14Z")

</div>

Closed on March 3, 2025, 3:51pm UTC

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