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.

Why can't I use a non-numeric value in this value list?

Featured Replies

Greets all:

I found the attached solution* to create a value list based on a calculation, but when I substitute the values in Field A's value list with non-numeric values, the solution fails. Why? I'd like to be able to replace W1, W2, and W3 with non-numeric values, but I can't see (by looking at the existing calcs) why the solution fails when you remove numbers from Field A's value list.

Cheers,

Rich

 

*https://community.claris.com/en/s/question/0D53w00005QdyVqCAJ/value-list-defined-by-a-calculation

Day Selector.fmp12

Edited by WF7A

Radio buttons and check buttons are just a return-separated value list of items. If you decide to mid-stream change this value list and have records out in the wild you will need to do an extensive data cleanup to replace any existing values of W1 to X1 or 101. When dealing with a check box or radio button you may wish to format a field as just an entry text box to see the contents. If you have ever removed an item old records would still retain the item that is no longer present to select so reports or searches based on this will be inaccurate. 

 

44 minutes ago, WF7A said:

when I substitute the values in Field A's value list with non-numeric values, the solution fails. Why?

I only glanced at it, but I see that the calculation of DayListCalc is using the Choose() function, with Field A being the test parameter. This parameter is required to be an integer. When you supply a text value instead, Filemaker converts it to an integer. If the text contains no digits other than 0, then the converted parameter is 0. In such case, the first result parameter is returned - in your case, an empty string.

If you want to select from text values, then base the calculation on the Case() function instead.

 

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.