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

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

Recommended Posts

Posted (edited)

I imagine this is FM101, but here goes. The following scripted find works if I use "=" (but with different effect, of course), but when I use "≠", I get unexpected results (I get records with two fields that both are equal and not equal.)

Doesn't work as expected (I'm trying to end up with a found set of records where the value of two fields match):

fieldA and fieldB are number fields.

Perform Find [Restore] [Find all records with a non-null value for fieldA - this step works]

Go to Record… [First]

Loop

If [table::fieldA ≠ table::fieldB]

Omit Record

End if

Got to Record… [Next; Exit after last]

End Loop

Thanks, Ken

Edited by Guest
Posted

Finds don't work that way, because it would require the find request to be different for each record. It's essentially putting dynamic criteria that depends on each individual record.

Create a calculation field with the expression fieldA = fieldB. Th result of the expression will be either 1 or 0. Now perform the find in the calc field for zero.

This topic is 5485 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.