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 list from a calculation field in a related file

Featured Replies

I'm trying to produce a pop-up list to enter the ID of a record from a related file of people's names. These IDs are not very informative so I'm entering the persons name, calculated from surname and first name fields, as the second field on which I wish to sort (I've concatenated surname and first name in that order). When clicking "OK" on the 'Specify Fields for Value List' dialog box I get the following error message

"This value list will not work because the field "SortName" cannot be indexed. Proceed anyway?"

On clicking "OK" several times to get out the pop-up list works OK but is not sorted correctly and I guess when/if I have a lot of entries will work very slowly. Is there an appropriate work round or am I just not doing it correctly?

Thanks for your help in anticipation.

Barry

Use the double column "Display Also" option for the value lit. That way users see the name, and when they click on it, it enters the actual ID number.

In the People file create a stored calculation that has the last and first names. Be sure that no word is over 20 chars and that the entire name is not over 60 chars. Use this as the "dispaly also" field.

That should work.

Old Advance Man

  • Author

Thanks. No error message, but only one entry in pop-up list. After some investigation it seems to be the selection of sort on the second field that's causing the problem, if I remove that then all the records are there - odd!

Barry

You can't relate a popup list to a global.

  • Author

How is a global relevant here?

It's not. I misread your paragraph. :-)

But, Is your calculation set to index (in options)?

The response you are getting would lead me to believe that somehow, your calculation or one of the fields used to make it cannot be indexed.

  • Author

Thanks Signal. It turns out the problem had the same solution as another I have had that I put through the Relationships thread. I had not changed the field type in the calculation dialog from the default "Number" to text. This simple change and all is well. I'll not make this mistake again!

Barry

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.