Topic
2 replies Latest Post - ‏2013-07-11T12:25:34Z by JDD23
JDD23
JDD23
8 Posts
ACCEPTED ANSWER

Pinned topic hard Return (WordWrap) Problem

‏2013-07-10T12:03:46Z |

Need your help:  I'm trying to combine the contents of two fields ((1) Risk_Condition, (2) Risk_Consequence) into a third field (Risk_Statement).  All fields are multi-line.

The script below works but the contents of the second field are placed on a new line--I need it to continue on the same line. 

I'm thinking that my problem is in the way I have combined the the two fields (using +)?  How do I fix?

Dim Condition
Dim Consequence
Dim RiskStatement

 Condition = GetFieldValue ("Risk_Condition").GetValue()
 Consequence = GetFieldValue ("Risk_Consequence").GetValue()
 RiskStatement = Condition + "; " + Consequence
 SetFieldValue "Risk_Statement", RiskStatement

Thanks in advance. JDD223