Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple lines in crystal reports

Status
Not open for further replies.

BiggsWolf

Programmer
Aug 23, 2002
21
0
0
CA
I'm trying to programmatically enter multiple lines of text into a crystal report’s text box with VB .Net. However, when I try to enter a line break (i.e. vbcrlf) it’s completely ignored. Anyone know how I can have multiple lines in a single text object?

i.e:
This
is
a
test

rather then:

This is a test

I’ve tried using a unbound string field object but I can’t seem to find out how to get text into it at all. Thanks for any help you can provide.
 
BiggsWolf,

I had a frustrating time figuring this out several months ago. In the crystal report your field objects have a property called Text Format, simply change it from crStandardText to crRTFText.



Charles
Quality Assurance/Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top