Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9091549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:38:13+00:00 2026-06-16T22:38:13+00:00

I have a Crystal Report in which I’m displaying the encoded text which got

  • 0

I have a Crystal Report in which I’m displaying the encoded text which got retrieved from a DataSet, but in the report, it is displaying the html tags.

Is there any way to Decode the text and display it in the crystal report?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:38:15+00:00Added an answer on June 16, 2026 at 10:38 pm

    Here is my SQL function to decode the encoded text..

    CREATE FUNCTION FNHTMLDECODE (@REMARKS NVARCHAR(MAX))
    RETURNS NVARCHAR(MAX) AS  
    BEGIN 
        DECLARE @RESULT     NVARCHAR(MAX)
        DECLARE @VCCRLF     VARCHAR(2)
    
        SET @VCCRLF     =   CHAR(13) + CHAR(10)
    
        SELECT @RESULT  =   @REMARKS
    
        SELECT @RESULT  =   REPLACE(@RESULT,'&','&')
        SELECT @RESULT  =   REPLACE(@RESULT,'&','&')
        SELECT @RESULT  =   REPLACE(@RESULT,'&#','&#')
        SELECT @RESULT  =   REPLACE(@RESULT,' ',' ')
        SELECT @RESULT  =   REPLACE(@RESULT,'&lt;','<')
        SELECT @RESULT  =   REPLACE(@RESULT,'&gt;','>')
        SELECT @RESULT  =   REPLACE(@RESULT,'&QUOT;','"')
        SELECT @RESULT  =   REPLACE(@RESULT,'&COPY;','©')
        SELECT @RESULT  =   REPLACE(@RESULT,'&LAQUO;','«')
        SELECT @RESULT  =   REPLACE(@RESULT,'&RAQUO;','»')
        SELECT @RESULT  =   REPLACE(@RESULT,'&FRAC14;','¼')
        SELECT @RESULT  =   REPLACE(@RESULT,'&FRAC12;','½')
        SELECT @RESULT  =   REPLACE(@RESULT,'&IQUEST;','¿')
        SELECT @RESULT  =   REPLACE(@RESULT,'<BR />', CHAR(10)) --   LINE FEED
        SELECT @RESULT  =   REPLACE(@RESULT,'&#x0D;', CHAR(13))  -- CARRIAGE RETURN
    
        SELECT @RESULT  =   REPLACE(@RESULT,'<P>',@VCCRLF)
    
        RETURN @RESULT
    END
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple Crystal report document which pulls data from a db
I have one formula in crystal report, which displays fixed text if the value
i have a problem i am creating a crystal report which have two dataset
I have a text and drawing on a Crystal Report which I would like
I have a crystal report that gets ran several hundred times from a C#
I have a Crystal Report which is viewed via a CrystalReportViewer control on an
I have following Crystal Report: Here data which is displayed have period 200804 to
I have a crystal report which when generated has a last page that is
I have below formula in my crystal report which doesn't work. if({SINGLECASEMULTIPLEASSAY.sSampleName}=P)then val({SINGLECASEMULTIPLEASSAY.sODValue}) The
I have a crystal report that gets its data from one stored procedure, this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.