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.

Featured Replies

I am wondering how one would go about listing missing values in a group. I have a group of records that are assigned a value in a field called Incidental, for ease of use, 1-20. I may have 12 records with the value of 1, and 3 with a value of  2, none with a value of 3 or 4, 2 with a value of 5 and so on. Some records won't have a value at all in that field.  I need to know if there is a way to generate a list of the numbers between 1-20 that do not have a record connected to them. Is there a way to poll the records and get a list of that? I created this script:

Perform Find // Shows only records that have a value in the Incidental Field

Sort Records // Sorts the Incidental Field in Order

Set Field [gincidental; ""] // Clears Data and is used to create list of values

Loop

If [$PI = Incidental]

Set varialble [PI; Incidental]

Go to Record/Request/Page [Next; Exit After Last]

Else If

If [($PI+1)= Incidental=0]

Set varialble [PI; Incidental]

Go to Record/Request/Page [Next; Exit After Last]

Else If

If [Incidental - $PI >= 1]

Set Field [gincidental; If(gincidental=""; ($PI)+(Incidental-$P1)-1; gincidental & ", " & ($PI)+(Incidental-$PI)-1)

End If

Set varialble [PI; Incidental]

Go to Record/Request/Page [Next; Exit After Last]

End Loop

 

I know the calculation is bad because I am not getting all the missing values, because it doesn't account for all missing values, so when it goes from 2 to 5 in the above example it would only show 4. I feel like there is a more elegant solution that would show me 3,4, and and other missing values accounting for duplicates, and if possible, empty records as well.

Any help would be grandly appreciated,

Shaun

Edited by sirsancho09

In order to know which values are missing, you need to have a list of all possible values. Where would you keep such list? Would it be in a custom value list, or in a table, or ... ?

  • Author

I don't have one, I could place the values on a Value List.

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.