Talk About Network

Google





Software > Access External data > Re: Remove squa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 11293 of 11376
Post > Topic >>

Re: Remove square symbols between words in im****ted text

by "Ken Snell \(MVP\)" <kthsneisllis9@[EMAIL PROTECTED] > Nov 26, 2008 at 08:59 AM

First, find out what character that symbol is representing. You can do this

by reading the Asc value of that character in a field via a query:

SELECT Asc(yourfield, CharacterPositionOfTheBox) AS AsciiValue
FROM yourtable
WHERE yourprimarykeyfield = SomeValue;

My initial guess... the original data came from an EXCEL worksheet, and in

that worksheet there were cells with more than one line in them. EXCEL
uses 
the LineFeed (LF, or Chr(10) character) to make a new line. However,
ACCESS 
uses the combination of CarriageReturn and LineFeed characters (CR and LF,

or Chr(13) & Chr(10) characters) to make a new line.

So, if my guess were correct, you could run an update query on the data in

the table to replace Chr(10) with Chr(13) & Chr(10):

UPDATE yourtable
SET yourfield = Replace(yourfield, Chr(10), Chr(13) & Chr(10));

-- 

        Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/



"Wayne Viles" <WayneViles@[EMAIL PROTECTED]
> wrote in message 
news:9551F291-1B79-429F-8C8D-E19AB4FC0433@[EMAIL PROTECTED]
>I have im****ted fields from an access database into a master access 
>database,
> but an im****ted text fields has square symbols between some of the text
> words.  How can these symbols be removed please
 




 2 Posts in Topic:
Remove square symbols between words in imported text
=?Utf-8?B?V2F5bmUgVmlsZXM  2008-11-26 03:20:01 
Re: Remove square symbols between words in imported text
"Ken Snell \(MVP\)&q  2008-11-26 08:59:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 23:57:27 PST 2009.