Skip 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.

Portal Relating to two different tables & multiple criteria

Featured Replies

I'm trying to create a portal on my "incoming mail" layout that includes all "active" jobs related to the current email of "[email protected]"

It's trickier than it sounds at first glance...

Here are the 3 tables I'm working with.

-Client Emails = [email protected] (each email may be associated with multiple clients; example: John Doe & Jane Doe)

-Clients = John Doe (each client may have multiple emails; Example: [email protected] & [email protected])

-Jobs = "active" or "inactive" (each Job relates to a single client)

each email may be associated with multiple clients

In what way exactly - given there is no joining table between the two?

  • Author

Your right, the emails are not related to more than one client.

However, the same email may occur within multiple clients.

Example

John Doe could have two related emails, [email protected] & [email protected] (these are only related to John Doe)

Jane Doe could have just one related email, maybe she uses john's home email address, [email protected] (this email is only related to Jane Doe)

Let me know if you need further explaination.

I'm afraid that's not clear. In your example, is there one record for "[email protected]" or two? If there's only one, by what means is it related to two clients?

  • Author

There are two records in the Client Email table that contain johndoe@home, one record relates to John Doe, and the other relates to Jane Doe.

Well, if the relationship between Emails and Clients is based on matching e-mail address then all the king's horses will not be able to decide between John Doe and Jane Doe as the sender.

You could add a calculation field to the Emails table like =

Case ( IsEmpty ( ClientID ) ; List ( Clients::ClientID ) ; ClientID )

and use it as the matchfield to Jobs. In the current example, the portal to Jobs would show jobs of both John Doe and Jane Doe - until you select one of them and enter their ID into the ClientID field.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.