Jump to content

Calculation search for values starting with...


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

Recommended Posts

I'm trying to implement an If statement in my calculation. It works fine as below but that limits found field values only to the specific string - "Part A". I need to be able to also catch values that may have text following the string I have specified, i.e. "Part A and something else". Any suggestions appreciated.

If ( tableName::fieldName = "Part A" ; resultOne ; resultTwo )

Link to comment
Share on other sites

If I understand correctly, you want the calculation to check if the text in a field starts with a given string. This can be done as follows =

If ( Left ( tableName::fieldName ;  6 ) = "Part A" ; resultOne ; resultTwo ) 

 

 

Edited by comment
Link to comment
Share on other sites

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