# Retrieve participation status of a guest to an event (when several events exists)

**URL:** <https://forum.bubble.io/t/retrieve-participation-status-of-a-guest-to-an-event-when-several-events-exists/272929>\
**Category:** Database\
**Created:** [July 17, 2023, 2:34pm UTC](https://forum.bubble.io/t/retrieve-participation-status-of-a-guest-to-an-event-when-several-events-exists/272929 "2023-07-17T14:34:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [July 17, 2023, 5:01pm UTC](https://forum.bubble.io/t/retrieve-participation-status-of-a-guest-to-an-event-when-several-events-exists/272929/2 "2023-07-17T17:01:03Z")

</div>

Yes you need another datatype Participation with fields for Event and Guest

That allows you to do searches for a specific guest and get all their events and vise versa

Very similar to this:

> [@Trying to forward think](http://forum.bubble.io/t/trying-to-forward-think/261286/4):
>
> Yes, you make another datatype called “Like” With a field for Post (Post datatype) and a field for User (User datatype) When they click like it creates a new Like, sets those two fields. Then later in the future if you want to look at all your liked posts you do Do a search for Like, constraint User = Current user, then do :each item's Post Or to get all the Users that liked a specific post, you do Do a search for Like, constraint Post = [specific post], then do :each item's User There would…

---

_[View the full topic](https://forum.bubble.io/t/retrieve-participation-status-of-a-guest-to-an-event-when-several-events-exists/272929)._
