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

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

Recommended Posts

Posted

I am trying to use SetField to set all but the last 9 words of one field to another. I have tried using

Leftwords(Text_Field - 9) didn't work.

Then I tried

LeftWords(Text_Field;WordCount(Text_Field) - 9) Nope.

What am I doing wrong?

Posted

Oh, I was right with the second script! The reason it wasn't working - I was trying to use it on a calculated field and it was coming back with a numeric value. So I cut and pasted the text into a global text field first and then set this field to the target field. There might be a more elegant solution but this works.

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