How to restrict a multiple choice field based on parent connection?

I’ve struggled with this for a while, so I thought I’d pick the Masters brains here to see if you all know a way. In my inventory system, I create Purchase Orders regularly for different Vendors. I first select the Vendor (Manufacturer), then I add Products to the Purchase Order. How can I only show Products that contain this Vendor in the multiple choice list?

This image shows the Vendor already at the top, from the Parent page of the Form. But it shows ALL Products from the Products database. Each Product is connected to one Vendor, so you’d think there’d be a way to restrict this to only show those? Perhaps I need to somehow connect Product to the Vendor? Since Vendor is in the main PO, but the Product is in the “PO Line Items” table?

--

If you change the Vendor from a multiple choice field to a connection field to a new Vendor object, then you’ll be able to filter the Products dropdown to the Vendor that the current PO is connected to.

Let me know how that goes!

The problem is the Vendor is connected to one Object - “Inventory PO”, but the Products go into a sub-Object called “Inventory PO Line Items”, which isn’t connected to the Vendor. I created the Vendor object and connected it to the Inventory POs, but its still not showing as an option to filter by. I have the Products object connected to Vendors now too.

If possible, can you create a simple entity relationship diagram between Vendor, Inventory PO and Inventory PO Line Items?

Or, alternatively, describe each connection between each object in terms of one-to-one, one-to-many, many-to-one, or many-to-many.

That should help figure out why you’re not seeing the option to show Products connected to the Vendor.

Also would be great to see the Source of the Add Inventory PO Line Item form (the form is adding an Inventory PO Line Item connected to…?).

All of the Connections are One-to-many. Vendors, Products, Inventory POs, and Inventory PO Line Items are all connected to each other. I even added the Vendors Connection field to the Inventory PO Line Items too, and re-made the form shown above to be:

but I still can’t get the Products to be filtered down by Vendor.

Diagram:

Any other ideas? Thanks!!

Solved by Sunny! He added the Vendor choice on the Form, but hid it. This allows to only show products connected the form’s Vendor.