Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Crystal Reports Line Break

Posted on 2005-05-10
5
Medium Priority
?
1,125 Views
Last Modified: 2008-01-09
I setup a web app using VB.NET and ASP.NET to auto generate a PDF file using crystal reports. This works exactly as intended except for in some places I have to have a line break (<br />) for display purposes but Crystal isn't doing a line break and instead prints the HTML out in the form. Is/Are there a special character(s) that symbolize a line break in data that Crystal recognizes? I'm getting the <br /> by replacing any instances of System.Environment.NewLine with it.

Any help would be greatly appreciated!!
0
Comment
Question by:goconcepts
  • 3
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 1400 total points
ID: 13977596
Check the interpretation set for the field.

Open Crystal
Select the field
Right Click and select FORMAT
There is an option on one of the tabs (don't have Crystal here)
   that allows you to interpret the field as RF or HTML.  Select HTML.

You may also need to use <br/>

mlmcc
0
 

Author Comment

by:goconcepts
ID: 13978117
That gave me a good place to look but unfortunately the only options available are RTF or None and None was selected. I tried switching to RTF just to see what would happen and it didn't work either (figured it wouldn't though).

I'm using VS.NET 2003 and Crystal Reports 9 (the integrated one).
0
 

Author Comment

by:goconcepts
ID: 13978332
I found HTML text but it is inside the Format Editor so it looks like I have to do it in some form of code. But I'm a new CR developer so I don't know how to use this syntax. Any help? The fields are varchar if that helps.
0
 

Author Comment

by:goconcepts
ID: 13981737
OK, I figured that out. Thanks for the help!!!!
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 13981823
Glad i could help

mlmcc
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question