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

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

Recommended Posts

Posted

I don't know if anyone can help, i have 6 fields with various data in them including a serial number (which sometimes contains text) I want to be able to have a global field that you enter a serial number to be found, then run a script to find this data in any of the six fields, i can not use an if(global = any of the others) type script as the 6 fields contain other information aswell.

Sorry about the laymans description!

Posted

Two ways...

ONE

make one calculated field "allFields" that contains the data from all six fields.

(= field1 & " " & field2 & " " & field3 & " " & field4 & " " & field5 & " " & field6)

Then perform the find on that field...

Enter find mode

Set field, allFields, myGlobal

Perform find

TWO

The other method would involve a little more scripting

Enter find mode

Set field, field1, myGlobal

New Record/Request

Set field, field 2, myGlobal

New Record/Request

Set field, field 3, myGlobal

New Record/Request

Set field, field 4, myGlobal

New Record/Request

Set field, field 5, myGlobal

New Record/Request

Set field, field 6, myGlobal

Perform Find

I think the second method might be slightly faster and more reliable since there's no calculation.

Posted

What I use for 99% of my complicated finds is a calculation field that results in 0 or 1 Example: if field "X" = global field "Y".

Then the find is just look for a 1 on the calculation field.

For your case I'd do a calculation field that was set to 0 or 1 depending on wither any of the serial number fields were the same as the global. Then the find is just to look for a one on the calculation field.

This just seems a lot simpler than dealing with complex finds to me.

Hope this helps!

-jim lee

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