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.

D.I.V.O.R.C.E.

Featured Replies

I have a database in which the records are people, some of whom are linked to one another. Each record has 3 different ID fields signifying whether the person is a Host, a Guest or a Spouse. These are text fields which have number codes.

There are then self-joins to match the IDs (HostGuest is the r'ship for HostID::GuestID, HostSpouse is the r'ship for HostID::SpouseID etc.) so that if I am in John Smith's record I can see he is the host of Bob Jones in the field HostGuest::ExecName.

That's fine. Now when I'm in John Smith's record I also want to see if his guest Bob has a wife. So I created a calculation field Hostguestspouse where the result is the related field HostGuest::SpouseID. This field is then used in another relationship 'ShowSpouse' where the match fields are Hostguestspouse::HostID. So now, when I am in John Smith's record I can see Betty Jones in the field ShowSpouse::Exec Name.

The problem arises when John Smith has more than 2 guests. I can easily see all of the guests in a portal displaying HostGuest::ExecName, but I can only see the wife of the first guest in a portal for ShowSpouse::ExecName. Is this because ShowSpouse can only reference the first record where HostGuest::SpouseID matches Host ID? I've tried all kinds of things and can't get it to work.

Sorry this seems a bit bigamous.....

shocked.gif

If I understand correctly (and I'm not sure I do), create a Spouse field in the database that is a calculated text field set to the spouse's name. Show this field in the portal of guests.

Chuck

  • Author

That's it exactly Chuck - many thanks!

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.