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.

Pop-up menu and related records?

Featured Replies

In a layout called JOBS, I want to put the following fields inside a portal:

salespersonOne (related field, pop-up menu)

salespersonTwo (related field, pop-up menu)

product

jobStatus

Because there can be either one or two salespersons per job, I'm using a separate table (tSalespeople, related by recordID) to store the salesperson data.

Back in the JOBS layout portal, it's no problem selecting salespersonOne from a pop-up menu; a new related record in tSalespeople is automatically created, and his/her name then appears in the portal.

My confusion comes with salespersonTwo: Since I obviously can't put a portal inside a portal, how can I create (or change) the second related record simply by selecting a name from a pop-up menu? And then, how can I display salespersonTwo's name in the portal? Use a GetNthRecord lookup field?

I can't find a thread which addresses this issue, but I bet it's out there. If you know of its whereabouts, or have some suggestions of your own, I'd be very grateful. Many thanks, all--

You should really one have one 1 salesperson field. Your related records should have all the sales items with the person on it. i.e.

John Product1

Bob Product2

Also what happens if there are more than 1 product item per sales person?

  • Author

Thank you for your reply.

To clarify, the Product, JobStatus, and other fields are supplied by a join table. You are correct, there should really only be one salesPerson field, but how can I select, change, and display the second salesperson's name by using only a popup menu? (can't put a portal inside a portal, of course)

See if this thread helps.

http://fmforums.com/forum/showtopic.php?tid/193865

  • Author

Thank you, I will check it out...

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.