Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: Problem with TextObject et CR.LF

$
0
0

The text boxes do not perform any CF/LF interpretation.

 

You could try formulas though as these have Text Interpretation;

 

Create empty formula

Add to report

Right click on the formula, select Format Object

In the Formula Editor, select the Paragraph tab

Find "text Interpretation"

The drop down has RTF Text and HTML Text

 

Code to populate a formula:

 

Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class Form1
Inherits System.Windows.Forms.Form
Dim Report As New CrystalReport1()
Dim FormulaFields As FormulaFieldDefinitions
Dim FormulaField As FormulaFieldDefinition
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
FormulaFields = Report.DataDefinition.FormulaFields
FormulaField = FormulaFields.Item(0)
FormulaField.Text = "[formula text]"
CrystalReportViewer1.ReportSource = Report
End Sub

 

 

 

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces


Viewing all articles
Browse latest Browse all 10473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>