How to Manage Selective Table Relationships in My Database?

Hello everyone, I’m seeking your expertise to help me understand how to establish selective relationships between two tables in my database. My project involves working with two tables: Services and Shop. The goal is to enable users to choose a Shop when they access a Service page, while restricting this selection to certain specific shops and not all, as it currently stands.

My main challenge lies in determining the table structure to adopt in order to limit the selection of specific shops for each service. Do you have any suggestions on how to achieve this efficiently?

"I’m sending you some screenshots of my tables (I’m using Airtable tables, but I would have the same structural issue with Glide tables).

Ps : When i select a shop, i want add the record id of this shop in a form link, with my structure who the user can choose all the shops it’s good but when the structure change, i don’t know.



It’s not clear to me what the relationship is between Services and Shops, and how you define that relationship.

Is the idea that the user first selects a Shop, and they then get presented with a list of Services offered by that Shop?

Yes, select a shop and see Services offered by that shop




I made simple a mockup for you

1 Like

Hello, I would like to achieve the following: when I choose a “Shop” page, and then select a page corresponding to a specific service within that shop, I want to retain the “recordId” of the shop I previously clicked on, in order to add it as a hidden field in my form. How can I accomplish this?

Hello, thank you very much for your example and your response. I am now looking for an alternative method to achieve this without using a “choice,” but I appreciate your help.

hello. Can you tell me why we need to record the IDs of the stores visited by the user? I think it would be an important design point if we need to store the IDs of all the stores visited, or just the one immediately before.