Skip 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.

Look up??

Featured Replies

Hello, thanks in advance for any help.

I'm trying to get a field to look up information based on the relation.

Ex: I have 2 databases, one person contact and one company contact. I need the company database to pull a person's name but only if it meets a requirement. There will be multiple persons that belong to a single company. But there will only be one Key Contact person. I'd like to tell the company database to pull from these related batch of records, but only display the key contact name in the field. I've got it set up as an If statement, but it only works for the first record. If any record after that is the key contact, it doesn't work.

Any thoughts? I just can't get it.

Thanks.

Well what defines the key contact person and why can't you isolate that single person via the relationship?

  • Author

I have a Key Contact Check Box. That triggers the look up. Which works great for the first record. But fails if the key contact is not the first record.

You can either a) Sort the relationship to put the contact with the key contact box checked at the top

OR...

;) Create an additional relationship where

id = id

constKeyContact = checkboxKeyContact

Where constKeyContact is a calculation that has the value that is selected in the checkbox to define the contact as the key contact.

i.e. if you check the key contact box and the checked value is literally "Key Contact" then constKeyContact would have "Key Contact" as the value -- meaning that you always isolate the record(s) that are related with the first criteria (id = id), but then due to the second criteria (constKeyContact = checkboxKeyContact) you are isolating the one record that is the Key Contact and can just use isolatedKeyContact::name as your calc.

Or as i said you can just sort by the checkbox field (in the relationships graph, double-click the relationship, choose sort, and sort by your checkbox). -- here you use If( isolatedKeyContact::checkBoxField = "Key Contact" ; isolatedKeyContact::name )

There will be multiple persons that belong to a single company. But there will only be one Key Contact person.

This suggests the selection should be done at the company level, by entering the key contact's ID into a KeyContactID field.

  • Author

Thanks, everyone.

Genx, your solution worked. I was missing that "constant" that caused the extra level of filtering.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.