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.

Many-to-many via portals

Featured Replies

I hope I'm overlooking the easy solution... If I have a many-to-many relationship (my sample has articles and contributors), how do I set up a layout that allows for easy linking of the two? That is, I have a layout based on Articles that has a portal from Contributors, and I want to be able to create the relationships by clicking in the portal and choosing the contributors to the article. This doesn't seem to work across two hops in the relationship diagram. I click on the portal row and because the field is from a table not directly related to Articles, no record is created, and I can't display a drop-down list.

I think I understand why, but surely there's some way to do this simply? I want a nice drop-down list when I click into the next empty portal row so I can choose a contributor and associate it with the article and have the join row created automatically for me. Ideally this would involve little to no scripting or buttons, but I'm flexible.

Any ideas?

Articles.zip

I have attached the modified version of your file. I changed the value list as well as the field displaying in the portal. Enjoy!

Articles.fp7.zip

  • Author

Thank you both! Color me impressed, relieved and somewhat confused.

That is a bit non-intuitive, the way it works... Why does a pop-up menu seem to correctly display the name, but a drop-down list display the (hidden) ID until it actually drops down? Bug or feature?

I'm glad to find such an easy solution.

It's a feature that pop-up menus can hide the real value being entered into the field.

  • Newbies

I'm trying to apply Chuck's instructions about duplicating the portal data to your example http://www.fmforums.com/forum/showtopic.php?tid/1463/post/77293, but haven't been successful. Your example is great BTW. Is the contributors table the same as his 'child file'? I've attached my feeble attempt to get this working. Any help would be greatly appreciated.

Duplicate.fp7.zip

Dave,

As per your PM, take a look at the modified file for one method on duplicating records with child records.

Duplicate.zip

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.