Thursday, February 12, 2009

New Line in Crystal Report Text Object

Sometimes it is necessary to have a line break inside the text object of crystal report. We can do it using the keyword "chr". chr... takes a numeric value as its parameter. And the value 10 is used for having a line break.

An example is illustrated below........

We have to take a formula and inside the formula it can be written as :

'Name' + chr(10) + 'Country'

The output will be :

Name
Country

1 comment: