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.

Value List from a field

Featured Replies

Hi all -

It's been awhile since I have posted. I ran into a little something that I can't seem to come up with a solution for. Hoping you can help.....

What I want to do is create a list of items in a single field on a single record and use the contents of that single field as a value list. The problem I have is that when you use that field in the value list definition and then assign that value list to a field as a drop down list, FileMaker sorts the values alphabetically. I actually want the value list to appear exactly as it appears in the field.

For example, the field might contain:

Red

Green

Blue

Yellow

I want the drop down list to look exactly the same as the contents of that field, but instead I get:

Blue

Green

Red

Yellow

Any ideas?

See if this topic helps.

Link

Lee

There's a rather crude workaround described here:

http://www.fmforums.com/forum/showtopic.php?tid/184044/

Why don't you simply use a custom value list instead?

  • Author

Good question Comment. The reason is because I want it to be dynamic. I want to use a calculation that, based on different environmental conditions, show different items in the value list and I don't want to create a bunch of relationships to do it.

I'll check out the two links you guys have suggested and see if I get any ideas from them.

Thanks a lot for your replies!

Edited by Guest

Matt I would be interested to hear how you get on.

I have a similar problem. I have a table:

Event ID (auto-enter serial)

Event Name (text)

Event Date (date)

Event Detail (Calc = GetAsText(Event Date) & "-" & Event Name

I want to create a Value list keyed off Event ID, using Event Detail as the second field, which is displyed to the user.

So, based upon context, the value list should show the user a list of Event Date/name combinations.

Filemaker insists on sorting the value list though by field 1 or field 2, not by the sort order of the relationship to the Event table. So, it ends up sorting the Event Detail field using standard text - so, 18/2/2008 would come ahead of 8/2/2008.

I can't use just the date field for the value list second field as it doesn't contain enough info.

  • Author

Hi Doktor Joy.

I don't think the solution I went with will help you since you are already using two fields in the value list definition.

I actually used a variation of Jeff Hannes post in the topic that "comment" gave in his post above.

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.