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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing paragraph on report

Status
Not open for further replies.

DirectOne

IS-IT--Management
Dec 26, 2002
62
US
I have a vb.net application that prints crystal reports and inserts text into the report, I have tried using both a parameter and a formula to accomplish this and am having problems,

When I use the parameter, I am limited to 255 characters, other than that it works perfectly,

When I use a formula and pass the value in code I can not have any returns or blank lines or the report will not run.

my application has a text box the user can type whatever they want and it print on the bottom of the report, from what I have read I could save the contents as a text file and insert into the crystal report as ole object?? not sure how well this would work.

Looking for some ideas.

Thanks,

BobZ
 
To avoid problematic characters, you can replace them with other special characters before passing them into Crystal. Then, in Crystal, use a formula with a REPLACE() function to replace these special characters back to the original content.

If you'd like to bring into the Crystal report the content of a text file, you can create your own UFL (User Function Library) or use a 3rd-party UFL (see list at: My "CUT Light" UFL provides that functionality.

- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top