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.

Calculation field as Value List

Featured Replies

I have a DB in which I have a drop down list displaying a primary key field from a related table. Although the primary key uniquely identifies the record, it is just a serial number and not very user friendly. So I created a calculation field that combines the vaules from a few different text fields to help describe the record better. I then attempted to "display values from second field" using the calculation field, but FileMaker gives me this message:

"This value list will not work because this field cannot be indexed..."

Does anybody know a work-around for this? I want to display the result of the calculation field in the value list.

You can't use related fields in such a calculation. Use lookup fields instead.

-jens

  • Author

I created a lookup. The message no longer shows, but now my drop-down list will not drop down anymore. It just enters the field as if it is a regular data entry field.

Is the lookup field filled with data? It doesn't get it's data automaticly as a related field does!

-jens

  • Author

If it says "Indexed" next to the name, that means there's data in it right? I know there is data in the field it is looking up.

Edited by Guest

Can you post your db here oder a sample db explaining the construction?

-jens

  • Author

Okay, I've attached a simplified version of the file I'm working on. I appologize for taking this long to respond, but I was trying to get some other things done on the file.

The value list called "Fathers" contains the primary key from the table of the same name. However, I also want it to display values from the "name_full" field which is a calculation that combines the "name_first" and "name_last" fields. I've placed the value list on the portal in the "MOTHER" table which looks through the relationship with the "CHILD" table at the "FATHER" table.

As you can see the portal is not very functional because the portal records are not independent. If you change the second one, the first one changes as well. Also, I cannot clik into the third portal row.

See if you can make sense of it. Thanks for taking the time to look it over!

simple.fp7.zip

  • Author

I think I've figured out my problem. The calculation field in the database I'm working with (not the one I've posted) references a related table. These calcuation results cannot be stored because of this.

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.