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.

I don't even know the title of this post!! jaja

Featured Replies

Hi everyone! I hope you can help me with this:

I have a field called 'name', and a Value List with some names. What I want to do is to find a way to find out which names of the ValueList don't appear in the records... For Example, the V.List is: Pedro, Amalia, Martin. If in a record, the field 'name' is filled with 'Pedro', I want the calculation gives me 'Amalia, Martin' that are not mentioned.

I don't really find the way... is there any formula?

Here I attach a sample base.

Thanks for all your help people. You're the best.

idea_base.zip

Hi

this is a calc that you can apply:

Let([

list = ValueListItems ( Get ( FileName ) ; "names" );

reduced = FilterValues ( list ; Substitute ( ¶ & list & ¶ ; ¶ & name & ¶ ; ¶ ) )

];

Substitute ( Left ( reduced ; Length ( reduced ) - 1 ) ; ¶ ; ", " )

)

I'm attaching your file modified with a calc that returns values NOT comma separated ( another type of calc )

idea_baseMOD.zip

  • Author

Thanks a lot Raybaudi, but it doesn't work when I create a new record and write another name...there's always 4 names... the idea is that if you write all the list's names in different records, the calculation should show itself empty. Is there any way to do that? Thanks a lot anyway.

pic.JPG

Edited by Guest
change 'fields' to 'records'

the idea is that if you write all the list's names in different fields, the calculation should show itself empty. Is there any way to do that?

This is ALL another idea !

But yes, it can be made.

  • Author

Thanks for answering Daniele... the thing is that I have the list of names, and I'd want that the calculation show me which people are not included in the record... In the sample picture above, if 'Pedro' is in the record, it shouldn't be in the calculation box. Do you know how to do it?

I hope my bad English be enough.

THANKS A LOT. :

The attached image isn't real !

There is no way to obtain the reduced list showing Pedro if Pedro is into the name field.

BTW: I didn't understand exactly what you want because sometime you say record, sometime field and never RECORDS.

  • Author

Daniele, I wouldn't ever lie to you that are trying to help me!! The picture IS real... please try it yourself.

Sorry... You were right: I wanted to say recordS (I missed the 's').

I originally had 2 records with two different names. The calculation you made showed me the names that weren't in the records. Great.

But then, when I create new records with names that are in the list, the calculation doesn't work and shows me, for example, 'Pedro' in the list, while 'Pedro' is also in the records. Please try it yourself, creating and eliminating records and you'll see. The calculation always shows 4 names even if it should show only 3 names or 2, or 1 or none.

I forgot telling you that the 'reduce list' field should be a global one.

I really thanks to you for your help... please don't think I'm trying to lie to you. Thanks again for all your time.

Did you maybe type a space after Pedro?

  • Author

Nop, I have just checked this out, and there's no space after Pedro. Thanks. Any other idea?

Daniele: your calculation works when there calculation field is not a global field... But I need it global, because I need to know which name/s is/are not in the records and if it's not global, it doesn't tell me much (only tells me the names that are not in the record I am watching at... it's great too, but it's not what I am trying to do). : :

Edited by Guest

I forgot telling you that the 'reduce list' field should be a global one.

Yeah, your issue might be due to you making the field global. Try the calculation again and make sure the field is not global.

Edit: Not, the issue. I was actually not able to replicate the issue you described, the name in the current record always disappeared from the list.

Edited by Guest

  • Author

Thanks An, I have just answer what you are suggesting me in the post before (I was modifying it : )

I forgot telling you that the 'reduce list' field should be a global one.

So you changed something of my example...

Who said that that calculation must be GLOBAL ?

Ofcourse, if the last inserted ( or modified )record contains ( for example ) Martin, the reduced field will contain:

Pedro

Luis

Amalia

Rodrigo

and that result will be visible also in the records where Pedro is into the name field.

Let me say more...

I think that your real need is to have a reduced value list based on the contents of ALL the records of the DB; so that the value list will show ONLY the names NEVER used into the previous records.

Is this correct ?

  • Author

Exactly what you have just said Daniele!

That is what I'm trying to calculate, but I can't. Please tell me how you would do it, because I can't realize the way. Thanks!!!

The title of your question is "dwindling value list". See a demo here:

http://fmforums.com/forum/showpost.php?post/274656/

Please tell me how you would do it...

This is a possible solution

idea_baseMOD.zip

  • Author

You're the best!!!!!!!!!!! I have just seen your way... It seems to works great!!! I have to go to a class now, but as soon as I return, I put hands to work with your way!!! Thanks a lot Daniele!

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.