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.

Complex Relationship Help Needed

Featured Replies

I'm using FMPro 8 Advanced. My database has got a many-to-many between

tables A and B represented by a table AB -- so it's the normal

A --B

sort of pattern. In my application I have a form layout for A in which I

want to allow the user to add a new AB record; i.e., relate an additional B

to the specific A. I want to do this by way of a pick list, a new window

that opens and presents a portal containing B records that might be added.

(Ultimately I'd like this to be a multiple select list, but that's another

story.)

The trick however is to populate the portal ONLY with B's that aren't

already related to A via AB. I'm at a loss as to how to define the

corresponding relationship between A (or AB) and another instance of B that

will provide just those records out of B. One thing I've considered is using

a global field containing a multi-key constructed from the elements of AB

related to the specific A, but I need a != relation and (as I understand)

using a != with a multi-key would use "or" semantics and not produce the

list I'm looking for.

Any suggestions?

Thanks in advance,

Bill

I have posted a sample file that demo's methods of doing this. I don't recall were so I am going to post it again.

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.