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.

How to Override a Value List Being Sorted in Ascending Order

Featured Replies

Hello,

I'm not referring to the options in the Sort Records dialog box. Hopefully, a simple example will illustrate.

Suppose I have a table called colorTable, with one field called colorField, and suppose I have the following three records in it:

red

green

blue

If I define a value list called "Favorite Colors" and base it on the values from colorField, whenever I choose to display this value list (perhaps as checkboxes), Filemaker will automatically sort the colors alphabetically, so I'll have:

blue

green

red

How can I override this default sort order without having to enter custom values in the Define Value Lists dialog box? I'm going to have about 20-30 lists with many items in each list, so I can better manage these lists by storing all the values in a dedicated table.

I initially thought of having a second field in colorTable called sortOrder, and specifying values like 1,2,3,.... It would be nice if, in the Define Value Lists dialog box, I could specify the first field as colorField, the second field as sortOrder, and then sort by the second field *without* displaying the values from sortOrder, but Filemaker 8 won't let me do that.

Do I have to use relationships, and define a sort order for each relationship? I was hoping to avoid doing that, since I would be adding 20-30 of them and I already have a crowded relationships graph.

Thanks for the help,

Sean

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.