![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have created a text field name "log file" I am trying to capture errors in scripts by "set field" if something goes wrong. I have seen it whereby each time a script runs, the Log File field "appends" itself with each new message. When I have set one up, each time I add to the script "set field" it overwrites the last error message so I can't see each step. How do I make it "append" the field with the error message instead or writing over it? Thanks JC |
#3
| |||
| |||
|
|
My guess is you have a script step that says only Set Field [ Log File ; Message ] That will overwrite. What you want is to set it to what's already there plus the new information. This example adds a new line: Set Field [ Log File ; Log File & "Pilcrow" & Message ] (Pilcrow being the return or paragraph character found in the calculation window) Matt In article <1162499902.280400.40330 (AT) m73g2000cwd (DOT) googlegroups.com>, "JC" <jc (AT) jclewis (DOT) biz> wrote: |
|
I have created a text field name "log file" I am trying to capture errors in scripts by "set field" if something goes wrong. I have seen it whereby each time a script runs, the Log File field "appends" itself with each new message. When I have set one up, each time I add to the script "set field" it overwrites the last error message so I can't see each step. How do I make it "append" the field with the error message instead or writing over it? Thanks JC |
![]() |
| Thread Tools | |
| Display Modes | |
| |