# How to get the last RowID during the Actions where new Row was added

**URL:** <https://community.glideapps.com/t/how-to-get-the-last-rowid-during-the-actions-where-new-row-was-added/54126>\
**Category:** Ask for Help\
**Created:** [November 14, 2022, 1:35pm UTC](https://community.glideapps.com/t/how-to-get-the-last-rowid-during-the-actions-where-new-row-was-added/54126 "2022-11-14T13:35:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Alexey\_Baranov1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexey_baranov1/32/43581_2.png) [@Alexey\_Baranov1](https://community.glideapps.com/u/Alexey_Baranov1)\
**Post date:** [November 15, 2022, 8:41am UTC](https://community.glideapps.com/t/how-to-get-the-last-rowid-during-the-actions-where-new-row-was-added/54126/3 "2022-11-15T08:41:54Z")

</div>

Hi Bob 👋  
Thank you very much for your attention. But it was too hard for me to stop this issue as impossible 😉 So I remembered the way i solved this before as @christoph described it [here](https://community.glideapps.com/t/in-action-can-we-add-a-new-row-in-parent-sheet-get-the-id-of-the-newly-inserted-data-and-insert-that-into-a-new-child-sheet/40931/6).  
It works! By putting an unique ID into the user row, I insert that ID into an user specific column while adding the new row. Having a relation in an User Table looking for that ID in the just added Row, I retrieve it’s Row ID through a lookup.  
Done 😃

---

_[View the full topic](https://community.glideapps.com/t/how-to-get-the-last-rowid-during-the-actions-where-new-row-was-added/54126)._
