How to Show Detail Screen After Adding a Row from a Collection View?

I’m building a “New Order” button in Glide, starting from a collection view of the Orders table (not a detail screen). When the button is tapped, I want to:

  1. Create a new order row in the Orders table
  2. Save the Order ID ( Row ID)
  3. Write that Order ID into a Last Created Order ID column (stored in either the User Profile)
  4. Use a relation from that ID to the Orders table
  5. Navigate to a detail screen built on top of that relation (which is where the full order interface lives)

Everything works except the “Show Detail Screen” step, which throws this error:

[Show detail screen] No row for screen

I believe this is because I’m triggering the action from a collection screen, which has no active row context.


:brain: My Question:

What’s the best way to trigger this flow (create a row → save ID → relate → navigate) from a collection view?

Is there a way to ensure Glide has the right row context to show the detail screen for the newly created row?

Any help or confirmation of best practices would be appreciated!

PS. I had this working before, then somehow broke it, and can’t figure out how to do it again!!!

In the video you’ll see I create a new order in a collection, and then I click on edit. I’m essentially trying to eliminate the click on edit step. When I create the new order, I want it to automatically navigate to the details page so I can enter the order.


This is absolutely the right way. Can you share a loom of your relation column and workflow?

Its super frustrating. I have another function in my app set up this exact same way and it works.

You should write the Last Created Order ID directly in Users Table and skip the second step.

Thank you for your help. I got it to work, I can’t even explain how or why… which is worrying me.