Results 1 to 3 of 3

Thread: [RESOLVED] Replace function

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    94

    Resolved [RESOLVED] Replace function

    Hello friends,

    Ive one field called adrdress in my database table. It has got linefeed character in that as address is stored using multiline text box. but I want ot print the same address in one line crytal report. so i want to replace linefeed character with space. i tried replace function like this replace(address,chr(13)," ") but it is not working.

    plz help me soon.

    reagrds
    damini
    Last edited by damini_dd; Feb 24th, 2006 at 10:24 AM.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Replace function

    13 is the Carriage Return character. 10 is the LineFeed character.

    Try Chr(10) and if that does not work try replacing both of them.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2002
    Posts
    94

    Re: Replace function

    thx brucevde. It solved my problem. I've to replace both.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width