# Help linking Order Items to newly created Orders in Knack

**URL:** <https://forums.knack.com/t/help-linking-order-items-to-newly-created-orders-in-knack/19936>\
**Category:** Get Answers\
**Created:** [October 4, 2025, 12:07pm UTC](https://forums.knack.com/t/help-linking-order-items-to-newly-created-orders-in-knack/19936 "2025-10-04T12:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marketing1](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@marketing1](https://forums.knack.com/u/marketing1)\
**Post date:** [October 4, 2025, 12:07pm UTC](https://forums.knack.com/t/help-linking-order-items-to-newly-created-orders-in-knack/19936/1 "2025-10-04T12:07:07Z")

</div>

Hi everyone,

I’m working on a Knack app with the following tables:

- Accounts

- Products

- Orders

- Order Items

The current setup is as follows:

- Logged-in customers can go to the Products tab, which shows a search view of all products.

- I’ve added an action column that lets users add products to their basket.

- The Basket view displays all the Order Items, and when the user hits Submit (via a form), a new Order is generated.

I’m struggling with the next step of how to automatically move the existing Order Items and link them to the newly created Order record when it’s generated.

Has anyone built a similar setup or could share advice on how to achieve this?

Thanks in advance!
