Hi,
I have added Field Codes to a template and in my code to replace these fields I want to replace the text with mutliple lines.
For example - my field is called Address. When I replace this I want to replace it with many lines of address.
I am using RVData.SetItemText(i, GetFieldValue(FieldName));
GetFieldValue, returns a string (from lookup in the database) with those address lines as one string with the characters Chr(13) and Chr(10) to indicate a new line between. When I run this the 13 nad 10 are ignored and it all appears on one line.
So instead of
11 Anywhere Road
Any Street
AnyTown
PO19 9DE
I get
11 Anywhere RoadAny StreetAnyTownPO19 9DE
Please advise.