Jump to content

Add New Line to Calculated Field


Recommended Posts

Hello,

I have been working on a new report that we will be sending out to our clients. I would like to include three lines as part of the report title. Instead of creating a new sub report to replace the default SubReportHeader report, I figured I could edit the ReportName calculated field and add line breaks to the text. It seems that the report editor either does not understand a line break, does not like (or support) it or I am not adding it correctly.

So here is my question. Has anyone been able to do this? Can you add a line break to a calculated field? I have tried:

\n - outputs \n

Char(10) - no dice

Physically hitting enter between two ' ' such as '

' - no dice

No sure what else to try.

Thanks

-David

 

 

Link to post
Share on other sites

Ah,

As always - I think I figured it out with a little more tinkering. I made on change to the default SubReportHeader to change the Parameters.ReportName label to multi line. It was originally set to false. I then used Char(10) in the calculated field and it added the line breaks.

Wanted to post in the event anyone else was having similar issues.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...