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

  • Home
  • SEARCH
  • 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 93445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:20:44+00:00 2026-05-10T23:20:44+00:00

In my crystal report, I noticed one of the fields being pulled from a

  • 0

In my crystal report, I noticed one of the fields being pulled from a table has special characters. More specifically carriage returns and tabs. Is there a way to strip this out, so it doesn’t show up blank in my reports?

Thanks in advance.

  • 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. 2026-05-10T23:20:44+00:00Added an answer on May 10, 2026 at 11:20 pm

    This should do it:

    stringvar output := {TABLE_NAME.FIELD_NAME}; output := Trim(output);  //get rid of leading & trailing spaces output := Replace(output,Chr(13),'');  //get rid of line feed character output := Replace(output,Chr(10),'');  //get rid of carriage return character  //add any other special characters you want to strip out. 

    If you have a lot of characters to strip out, you can use this slightly fancier approach. Just add whatever characters you want to strip out to the in[]:

    stringvar input := {DROPME.TEST_FIELD}; stringvar output := ''; numbervar i;  input := Trim(input);  for i := 1 to Length(input) Step 1 do   if not(input[i] in [Chr(13),Chr(10)]) then     output := output + input[i];  output 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a crystal report that gets its data from one stored procedure, this
We are doing a conversion of Crystal Reports to SSRS. One thing we noticed
Using Crystal report 7 I want to view the table 1 and sum of
Using Crystal Report 8.5 Generating a report from table1 My Crystal Report Output ID
Using Crystal Report 9 Table1 Fields Date ShiftName ID Name Intime Outtime Department 02-02-2009
I have a crystal report which when generated has a last page that is
I have a crystal report written in 10 with two parameter fields start_date end_date
I have a crystal report that is connecting to a database. The datatable from
I have a Crystal Report I'm trying to recreate from scratch after an update
I have a crystal report, it has a 1 page report. when i tried

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.