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.

List Function: How to Remove Specific Related Records from the Results

Featured Replies

Looking for a bit of help with the LIST and Substitute functions (I think).

Grocery Store mapping application.  An Item is in multiple locations in a single store.

Item: ABCD is in locations 1A, 5B, 12A and at all the Checkouts (in this example, 5 checkouts)

The table ITEM is the parent and the child table is SKU (which is all occurrences of an ITEM in a STORE)

Using List, I get this for Item ABCD

1A

5B

12A

Checkout

Checkout

Checkout

Checkout

Checkout

Nesting the list in Substitute to change the RETURNS to COMMAS and a trailing space and get this:

1A, 5B, 12A, Checkout, Checkout, Checkout, Checkout, Checkout

That is exactly what I want except I want to only return "Checkout" once no matter how many times the item is at the checkout in a store.  Checkout may appear zero or 1 times (so what I have works) or 2, 3, 4 or more times.  I need to remove those additional occurrences.  It must be done in the function (or in a script) but cannot be done in the child records.

I'm sure someone smarter than me can easily see how to do this!  Any suggestions would be appreciated!  Thanks in advance!

Edited by vanderark1

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.