When using appendtotextlist method in LotusScript, is there anyway to also append a line space too(i.e., carriage return)?
My goal is to use appendtotextlist, but i want my entries separated by a new line.
When using appendtotextlist method in LotusScript, is there anyway to also append a line space too(i.e., carriage return)?
My goal is to use appendtotextlist, but i want my entries separated by a new line.
Subject: appendtotextlist carriage return
Yes - include a carriage return character (Chr$(13)) at the beginning (or end) of the text you are appending. For example:
Call item.AppendToTextList( Chr$(13) & varname )
where varname is the variable containing the value you are appending.
This will work if varname is a single value.
If you want to append an array, you’ll need to concatenate the carriage return to each array element before using AppendToTextList, or loop through the array and append each item individually along with a carriage return.
Subject: appendtotextlist carriage return
Have you considered setting the “Display separate values using” on the field properties to “New Line”?