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.

Filter mulitple words in same filed

Featured Replies

Hi,

I am using a script to find a series of records. Each record is in a particular sector ie

Supermarket

Furniture Retail

Fashion

Field Sales

As the script runs through the records it 'inserts a calculated result' into a global field.

My Problem is that I only want the sector to appear once, so if there are three records with the same sector then only 1 instance of the word should appear.

can anyone help me with a solution?

Thanks

Darre

Hi Darre,

Try this ...

Go To Record/Request/Page [ First ]

Loop

If [ not Position ( global, textfield, global, 1)

Set Field [ global, If(IsEmpty(global), textfield, global & "

There is a quicker way if you want ALL values from that field (and not only those contained in the found set) which will also put them in alpha order for you.

If you create a Value List out of that textfield (using all values from field), then create a calculation (text, unstored) with:

ValueListItems(Status(CurrentFileName); "New Value List")

Then a simple step, without running through the records would be:

Set Field [ global, NewCalcField ]

It doesn't matter which record you are on when you fire this script because the calculation would display the same for all records. I corrected the above two posts; I had put ';' in syntax instead of ',' as required for pre-7 versions.

LaRetta smile.gif

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.