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.

Cannot Get Related Field Using Portal

Featured Replies

I am constructing a fairly complex database (at least it seems that way to me!), but I have encountered a very simple yet annoying problem along the way. For the purpose of this discussion, I'll only mention the two tables involved in my problem.

I have two related files, one is a "Master" file and the other is a "Slave" file. The Master contains a portal that lists all the records in the Slave file. When a field is clicked on the portal, I would like the data from a corresponding Slave field copied into a field on the Master file for searching purposes.

Unfortunately, my script only copies the information from the very first record of the Slave file. It seems to completely ignore the portal row's position.

Here is my script (you can view the attachment to see the files for yourself):

1. Go to Related Record ["Rel"]

2. Go to Field ["RecipientField"]

3. Set Field ["RecipientField", "GetField("Rel::OtherInfo")"]

Any suggestions are welcome.

PortalProblem.zip

You make it way too complicated, all it takes is this:

Set Field [ RecipientField, Rel::OtherInfo ]

--sd

  • Author

Gosh, those extra steps were unnecessary. You're suggestion works like a charm.

Thanks for the help!

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.