Print Page | Close Window

Need new lines

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22681
Printed Date: 25 Apr 2024 at 9:46pm


Topic: Need new lines
Posted By: aspfun
Subject: Need new lines
Date Posted: 15 Oct 2018 at 5:29am
From ASP.NET project, a textobject was assigned from a text box txtCOMMENT like below.

AAA
BBBB
CCCCC

But, display in report is "AAABBBBCCCCC"

How to add new line break?


Dim objTextComment As CrystalDecisions.CrystalReports.Engine.TextObject = rpt.ReportDefinition.Sections(2).ReportObjects("MYCOMMENT")
objTextComment.Text =txtCOMMENT.Text



Print Page | Close Window