Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 26th, 2004, 09:59 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default TextInterpretation - HTMLText

Hi!

I have one field in a dataset that have html tags (a break line <br>). What happens is that all content of the field is printed: text and html tags.

I want to interpretate that field as html to print correctly the report.

I select 'Format Field' and click on it to open the 'Format' dialog screen. At this screen i select the 'Paragraph Formatting' tab and look for the 'Text interpretation' section which is the lowest one on the tab. In the drop down list i only have two options: "None" and "RTFText".

Then i click on the "X+2" button and select the "HTML Text" option from "Text Interpretation Constants". Just with this command, nothing appears on the dataset field. If i try to write "crHTMLText{DataSetField}" or "crHTMLText({DataSetField})" or "{DataSetField}crHTMLText" it gives me an syntax error.

I already installed the service pack for Crystal Reports but its the same thing.... Im using Crystal Reports for Visual Studio .Net 2002.

Can anyone me help how to use crHTMLText or to find another way to solve the problem?
Advanced thanks for your atention!

Nuno Oliveira











Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.