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

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

Recommended Posts

Posted

to the gurus:

Can I write a script that would transfer the contents of one field and dump it into another, not replacing the contents of the 2nd field, but just adding it to the top?

thanks in advance for the help.

Posted

thanks ender. why do i need the case(length) part of the script. i just made a simple script that set field with field 1 carriage return field 2. it transfers it just fine.

I was wondering though if I can also clear the contents of field 1 as a separate step...can this be done?

Posted

The case() is in there so that if Field2 is empty, the Set Field won't insert an extra

Posted

You can also use the "insert calculated result" script step. This has an option to select the entire contects of the file (ie it will replace what is there) or uncheck to just add.

There is a script set to clear field too.

Posted

Just remember that, when using Insert Calculated Result [ ], the field must be present on the current layout to work. Set Field [ ] has no such restrictions and is (in my opinion) the preferred method.

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