cancel
Showing results for 
Search instead for 
Did you mean: 

How to concatenate more than 2 columns of a table in crystal report

Former Member
0 Kudos
1,981

I need to concatenate more than 3 columns. All are strings columns.Able to concatenate 2 columns but not more than 3.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Swati,

I believe your third variable is of different Data Type So please follow below steps

{Table1.Field1}&" "&{Table1.Field2}&" "&ToText({Table1.Field3})

Hopefully this should solve your issue.

Regards

Niraj

Former Member
0 Kudos

Thanks Niraj.

Former Member
0 Kudos

Hello,

You Can create formula for this and write below command

{YourDataSource.Field1} & " " & {YourDataSource.Field2}

-Bhavesh Samant

Former Member
0 Kudos

Thanks Bhavesh.It helped a lot.

Former Member
0 Kudos

abhilash_kumar
Active Contributor
0 Kudos

Hi Swati,

Do you receive any errors?

While in the formula editor, look for an option on the top that reads 'Exceptions for Nulls'; change that to 'Default Values for Nulls'.

-Abhilash

Former Member
0 Kudos

Thanks Abhilash.I got the answer.