Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Comparing two number lists as variables


This topic is 5113 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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
Posted

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.

Posted

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.

This topic is 5113 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.