Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Conditional Value List - with a twist.

Featured Replies

OK. So I have been working on a db that tracks an event that my church puts on every few months. I have the basic structure set up thanks to "comment". And maybe you can help me with this one too. I have a table set up that contains all the people in my db (I called it tblPeople). I also have a table set up for the events (called tblEvents). Additionally I have a table that contains all the registrations (tblRegistrations). This table allows me to chose a specific event for each person to form a registration. This registration also allows me to pick a role that the person who I am registering. We have a role that is called guide and if a person is a guide, they have other people assigned to them for this event.

So I have the structure set up and I have a field in the Registrations table that allows me to pick the person who is the registrants guide. This is where my problem is. I set up a Value List that looks up all the people who are registered to this event and it pulls those names into this form. So I can pick any person who is registered to this event (because I used the Include only related values from: option) What I want to do is to filter out that list to show me only people who are registered for this event AND have a role of guide.

I found something online about conditional value lists, but I am confused. It says that if you can create a portal that shows the list that you want to refer to, then you should be good. Well, I have a portal showing on my registrations table that shows all the people who are registered for the same event and are listed as guides. But I can't figure out how to make that list show up on my value list. I don't know if this makes a difference but the portal actually has all the people registered for the event and I then applied a filter to it so that it.

Thanks for your help!

Create a self-join relationship:

Registration to Registation~self

eventID = eventID

Constant1 = flag_IsGuide_c

where flag_IsGuide_c = if (RoleID = 100, 1, "")

In my Roles table, ID 100 is a type Guide.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.