# Referencing event stream-like tables

**URL:** https://community.glideapps.com/t/referencing-event-stream-like-tables/59287
**Category:** Ask for Help
**Tags:** actions
**Created:** [March 17, 2023, 2:12am UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287 "2023-03-17T02:12:01Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Steven\_Wingrove](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/steven_wingrove/32/54696_2.png) [@Steven\_Wingrove](https://community.glideapps.com/u/Steven_Wingrove)
#### Post date: [March 17, 2023, 2:12am UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/1 "2023-03-17T02:12:02Z")

</div>

I need help. I’m working on a team scheduling app. I have an event with some information about the event (name, ID, date) and I have some action text at the bottom of the form that the users will click that will bring them to a form to assign people to the event. When they click on the action text, I’m opening up another form that is a simple 2 choice field form (user from user table and role from a role table)

Here are the tables involved:  
“Users” source table for the choice input titled “Team Member”  
“Positions” source table for the choice input titled “Role”  
“Events” table where the event details are being written to  
“assignment event stream” table where each individual request gets recorded, assigned a Unique ID, tracked for an “accepted” or “rejected” status.

What I want:

- The user fills out the event details part of the form
- The user chooses a teammate from the choice dropdown of users
- The user selects a role for that team member
- When they click a button, a workflow kicks off
  - add row adds the row of information to the event stream table (Team member name, role, and event ID)
  - user receives confirmation that info was saved
  - user sees a list populate below the form with the names of the people who have been assigned and what their role is

What is actually happening:

- A row is created in the event stream table with nothing in it

I’ve also tried this:

- User clicks on a button that takes them to a 2 input form
- User inputs data into those two fields,
- User clicks submit

The second way is closer to what I want but I can’t get the event ID from the event to put into the event stream. I need that so that I can filter the list that is generated from all of the members of the team who are serving at this particular event.

What am I missing?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 17, 2023, 3:17am UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/2 "2023-03-17T03:17:12Z")

</div>

Are you trying to use a form within a form? If so, most of your issues may be because you are trying to reference column values that haven’t been written to the table yet. I wouldn’t recommend using a form within a form. Especially if the parent and child records need to be connected in some way.

---

<div class="post-metadata">

### Author: ![Steven\_Wingrove](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/steven_wingrove/32/54696_2.png) [@Steven\_Wingrove](https://community.glideapps.com/u/Steven_Wingrove)
#### Post date: [March 17, 2023, 11:03am UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/3 "2023-03-17T11:03:37Z")

</div>

That could be the problem but if so, I’m stuck still. How can I dynamically add people to an event when I might not know how many people I’ll need (a simple solution of putting multiple choice fields on the form doesn’t seem to solve for this because the number I will need might be variable every time)

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 17, 2023, 12:27pm UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/4 "2023-03-17T12:27:00Z")

</div>

Can you create and submit the event before adding users to it, instead of trying to do both at the same time?

---

<div class="post-metadata">

### Author: ![Steven\_Wingrove](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/steven_wingrove/32/54696_2.png) [@Steven\_Wingrove](https://community.glideapps.com/u/Steven_Wingrove)
#### Post date: [March 17, 2023, 12:53pm UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/5 "2023-03-17T12:53:06Z")

</div>

I had that same thought this morning after I replied to you Jeff. Thanks for the reply! I’m going to try that and see if it will work. I’ll let you know!

Steve

---

<div class="post-metadata">

### Author: ![Steven\_Wingrove](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/steven_wingrove/32/54696_2.png) [@Steven\_Wingrove](https://community.glideapps.com/u/Steven_Wingrove)
#### Post date: [March 17, 2023, 11:29pm UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/6 "2023-03-17T23:29:44Z")

</div>

@Jeff_Hager that was the problem. What I ended up doing was using the initial event creation flow to add event details only. Once the event is created, I navigate the user to the event details page and that’s where the user then adds the worship team members. It works great, thank you for your help!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [March 18, 2023, 11:29pm UTC](https://community.glideapps.com/t/referencing-event-stream-like-tables/59287/7 "2023-03-18T23:29:59Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
