Skip 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.

Fill all items of a multivalued field

Featured Replies

Hello,

First I don't know if I'm in the good section and hope you'll not be angry !!!

I have a multivalued field which receives through a script value 1 in the case I click on ; supposing that empty is represented by underscore I have a succession looking like 111_ _ 1 _ 11

In a second step I need to get the list of 1 and empty ; but the function List(myMuliValued) returns only 111111

How can I either :

  • replace the empty values by 0 before calling List ?
  • fill all the values with 0 when creating the record ?

Thanks for your ideas,

Noël

I know how to do wth a script, but I hoped in calculation....

Note: rubrique multivaluée = repeating field

You could add a repeating calculation field =

GetAsBoolean ( MyRepeatingField )

and point the List() function to it.

Or you could use a custom function along the lines of:

http://www.briandunning.com/cf/173

Or you could initialize the repeating fields to 0, using a lookup from a global repeating field.

Or - and this could well be the best course to follow - do not use repeating fields to store data.

  • Author

Thanks for your very complete answer.

The first proposition will be my choice ; so I haven't to use of external function. I don't undestand what you mean and how to "initialize the repeating fields to 0, using a lookup from a global repeating field".

Indeed repeating fields are not the best thing in FileMaker ; but I was inspired by an example which you can download here (it's in french).

Noël

so I haven't to use of external function.

A custom function is not an external function. You have the Advanced version, so you shouldn't have any problems installing it (any version can use it).

I don't undestand what you mean and how to "initialize the repeating fields to 0, using a lookup from a global repeating field".

See the attached.

LookUpR.zip

I was inspired by an example which you can download here

I don't think I can - it says something about being désolé over my lack of accès?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.