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'm quite sure there is a calc for this

Featured Replies

I already seen a scripted method but I'm quite sure there is a clac for this.

I want a field to hold the values not choosen from a value list.

Say a field with checkbox with A, B,C,D,E

Field t_choice =

A

C

E

Field t_nonchoosen =

B

D

Am I dreaming ?

Try this in your not chosen field

Case(PatternCount(Value List,"A")=0,"A"&"

  • Author

Thanks,

I was turning around with Value List Item - Field A with no success.

I was playing around with something like this, but I'm not thinking too clearly at the moment:

(Substitute(Substitute(

ValueListItems(Status(CurrentFileName), "abc"),

Middle(t_choice, 1, Position(t_choice, "

  • Author

Thanks Tom,

Well, I was far from that but on same track. I'll try both method and I'll tell you.

I didn't mentionned it, but these calc would have to be executed from a related file.

If you can be sure that only one item is ever selected than the task is easy. However the challenge lies when the field has more than one value list item selected, say with a set of checkboxes.

I have done it, but it's a scripted process and not a calculation. It involves taking the whole vaue list then subtracting the first entered item from it, then subtracting the second entered item etc until there are no more entered items. The remaining string is the list of unentered items.

  • Newbies

Troi have great plug-in that does this automatic for many values selected on record.

Text plug-in. Is working really well!

  • Author

Hi all,

Well, I've tried both methods and as Vaughan said, I must keep my first scripted method as this is a checkbox value list. So bad I have to press an update button there....

Hi Ugo,

try the example attached.

It works for list with up to 20 items (otherwise extend the calculation)

The main file is Bin.fp5 (basically it is the decimal to binary conversion) .

The List.fp5 is only the container for value list items.

Dj

ForUgo.zip

  • Author

Ciao Goran,

As usual you've been very helpful.

I slightly modified your file setting a relationship from one file to another using another indexed value with allow creation of related records.

I had to change some settings (just the value list format and relationships), but it seems to work like a charm.

----> My line item is populated by both choosen and not choosen values...

I just have to experiment some more and I'll post back a sample of what I can achieve with such a CALCULATION. You did a Great Job.

Thanks again. Ciao.

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.