Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Tim_D_Baker
Contributor II
Contributor II

Inserting "New Line" between join (+) of 2 source tmap source columns to 1 destination column

My source MSSQL database has AddressLine1 and AddressLine2. Destination in Salesforce (Non Profit Support Pack) has single Address column but can display as 2 lines.

Expression in tmap for "BillingStreet" is: Contact.ADDRESSLINE1 + "WHAT GOES HERE" + Contact.ADDRESSLINE2

I've tried "\n" and "\\n" and "CHAR(10)" - but didn't work.

", " and " " works but not what I need

Labels (3)
1 Solution

Accepted Solutions
Tim_D_Baker
Contributor II
Contributor II
Author

I found my own answer

Contact.ADDRESSLINE1 + Character.toString ((char) 10) + Contact.ADDRESSLINE2

The character numbers are:

Char(10) – New Line / Line Break

Char(13) – Carriage Return

Char(9) – Tab

View solution in original post

1 Reply
Tim_D_Baker
Contributor II
Contributor II
Author

I found my own answer

Contact.ADDRESSLINE1 + Character.toString ((char) 10) + Contact.ADDRESSLINE2

The character numbers are:

Char(10) – New Line / Line Break

Char(13) – Carriage Return

Char(9) – Tab