June 6, 200520 yr 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.
June 6, 200520 yr Author 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?
June 7, 200520 yr The case() is in there so that if Field2 is empty, the Set Field won't insert an extra
June 8, 200520 yr 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.
June 8, 200520 yr 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.
Create an account or sign in to comment