# Help setting up datas

**URL:** <https://community.glideapps.com/t/help-setting-up-datas/74393>\
**Category:** Ask for Help\
**Created:** [June 26, 2024, 12:47pm UTC](https://community.glideapps.com/t/help-setting-up-datas/74393 "2024-06-26T12:47:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LVaurie](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@LVaurie](https://community.glideapps.com/u/LVaurie)\
**Post date:** [June 26, 2024, 12:47pm UTC](https://community.glideapps.com/t/help-setting-up-datas/74393/1 "2024-06-26T12:47:07Z")

</div>

Hello,  
I’m trying to set up a database with an administration interface.  
I find myself in a complicated situation regarding certain tables that will have multiple associations (and the creation of actions that will be necessary).  
(see diagram below)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/c/1c83f463c4867eedc6f0d4f5fbd8ba23ee298d61.png)

Furthermore, how do I set up my datas knowing that :

- When an activity is created, I want it to be associated with a step.
- I also want to be able to associate several steps when I modify a module

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 26, 2024, 11:42pm UTC](https://community.glideapps.com/t/help-setting-up-datas/74393/2 "2024-06-26T23:42:36Z")

</div>

Here’s a question for you. Would each step contain multiple activities, and would each module contain multiple steps?

I don’t think the fact that an activity can be contained in multiple steps, or a step can be contained in multiple modules is a problem? You can tie them using choice components that allows selecting multiple options, if I understand you right.

> [@LVaurie](#):
>
> When an activity is created, I want it to be associated with a step.

Basically instead of doing it on the Activity table like here, you do it on the Step table instead.

---

<div class="post-metadata">

**Author:** ![LVaurie](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@LVaurie](https://community.glideapps.com/u/LVaurie)\
**Post date:** [June 27, 2024, 7:09am UTC](https://community.glideapps.com/t/help-setting-up-datas/74393/3 "2024-06-27T07:09:57Z")

</div>

> [@ThinhDinh](#):
>
> Would each step contain multiple activities

Its possible, yes

> [@ThinhDinh](#):
>
> would each module contain multiple steps?

Always, yes

> [@ThinhDinh](#):
>
> You can tie them using choice components that allows selecting multiple options, if I understand you right.

Noted. But how do I set up my datas to create these associations between the tables ?

> [@ThinhDinh](#):
>
> Basically instead of doing it on the Activity table like here, you do it on the Step table instead.

Yes, but is it the only way to do it? Not a practical solution for my end-users
