Gossamer Forum
Home : General : Databases and SQL :

Re: [Mad_Mick] Delete Carriage return query

Quote Reply
Re: [Mad_Mick] Delete Carriage return query In reply to
I have a solution - I know it's about a year and half late for you, but I noticed this thread has been read over 3000 times, so I figured I'd post a solution anyway. I had the same problem this morning.

The way to remove those pesky characters in excel is to do the following:

With your data in excel, add a column to the right of your data and populate the rows with a string that won't appear in your real data (I use very foul swear words for this).

Save your spreadsheet as a text file (CSV or Tab delineated).

Open this text file in word, and use the search/replace function replace ^p with a space (or whatever)

Then search and replace your unique string (or foul swear word) with ^p

Save your text file and close it.

Open it in excel and behold the wonders




In Reply To:
Hi all, First time post, hope someone can help.

I have had to develop a contact database for about 10-15 users that currently have approx 2000 - 3000 contacts each.

I have built an Access DB and imported some of the existing data, but the original format of data that I need to import is Excel and when imported into the Access 97 table, it retains the carriage returns (from Excel) and represents them as a square (In the Access table). I need to replace the carriage return with a comma or a space. Is there any way that I can make a query that will remove or replace a carriage return??

Sample data: OPTILU2008TU

I have tried to simply search for UniCode Alt+0129, but no good.

Smile
Subject Author Views Date
Thread Delete Carriage return query Mad_Mick 90766 Jan 18, 2004, 7:10 PM
Thread Re: [Mad_Mick] Delete Carriage return query
Andy 90410 Jan 19, 2004, 2:48 AM
Post Re: [Andy] Delete Carriage return query
Mad_Mick 90182 Jan 19, 2004, 2:45 PM
Thread Re: [Mad_Mick] Delete Carriage return query
llccoo 90256 Jan 25, 2004, 9:23 AM
Thread Re: [llccoo] Delete Carriage return query
Mad_Mick 90284 Jan 26, 2004, 1:52 PM
Post Re: [Mad_Mick] Delete Carriage return query
Watts 90180 Jan 26, 2004, 3:36 PM
Thread Re: [Mad_Mick] Delete Carriage return query
llccoo 90175 Jan 26, 2004, 3:43 PM
Thread Re: [llccoo] Delete Carriage return query
Mad_Mick 90164 Jan 26, 2004, 4:34 PM
Post Re: [Mad_Mick] Delete Carriage return query
llccoo 90132 Jan 27, 2004, 4:17 AM
Thread Re: [Mad_Mick] Delete Carriage return query
Watts 90162 Jan 28, 2004, 9:39 AM
Post Re: [Watts] Delete Carriage return query
llccoo 90156 Jan 28, 2004, 8:45 PM
Thread Re: [Mad_Mick] Delete Carriage return query
KarlS 86647 Jul 8, 2005, 11:49 AM
Thread Re: [KarlS] Delete Carriage return query
BI 86448 Jul 26, 2005, 3:17 AM
Post Re: [BI] Delete Carriage return query
theryall 68144 Nov 13, 2007, 1:16 AM
Thread Re: [Mad_Mick] Delete Carriage return query
justin.kearney 65906 Feb 29, 2008, 7:01 AM
Thread Re: [justin.kearney] Delete Carriage return query
LaLa 63227 Jun 24, 2008, 4:47 PM
Post Re: [LaLa] Delete Carriage return query
justin.kearney 63135 Jun 25, 2008, 5:37 AM