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.

Comparing two number lists as variables

Featured Replies

I have two variables I have assigned through a script. Each variables contains all the primary key values of a specific table. I want to step through the first list and see if it contains any values that are contained in the second list and, if so, apply a condition to it.

The obvious choice for this would be the PatternCount command but unfortunately this will not work for numbers.

How would I do this?

Edited by Guest

The obvious choice for this would be the PatternCount command but unfortunately this will not work for numbers.

Why will it not work?

As soon as you have a return-delimited list of numbers, it's not a number any more. It's a text string.

Check Brian Dunning's CF web site there are several that allow lists to be compared.

The obvious choice for this would be the PatternCount

I think the obvious choice would be the FilterValues() function - but I am not sure what exactly you are trying to do.

  • Author

Whoops, I duno how I missed that but ya, that works perfectly. Thanks!

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.