s_reddibathuni
Programmer
I have a multiline address field in crystal reports header section. After I export the report to excel the complete multiline address field should fit in a single row. Could someone help me?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Local StringVar newLine := chr(13) + chr(10); //Carriage return/Line feed = Windows "New Line".
Local StringVar result := {table.CompanyName} + newLine + {table.Address1} + newLine;
if not IsNull({table.Address2}) then
result := result + {table.Address2} + newLine;
result := result + {table.City} + ', ' +{table.State} + ' ' + {table.ZipCode};
result