473,796 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to remove the CR character (â–¡)

I have imported large text fields from Excel into Access 2000 which
contain many repetitions of the Carriage Return character similar to
"â–¡".

How can I strip them out without doing it manually? The Find and
Replace function does not work as it does not recognize this character.

Thanks in advance for any advice.

Peter Tyler

Nov 13 '05 #1
7 8491
I'm sorry I cant help here Peter but I will be interested in seeing your
replies.
I have a similar problem with an address field. In the past CR's were put
in to correctly format the field for print. It has now become necessary to
print the addresses at 30 degrees due to the envelope template we are using.
I have found a VB procedure which can do this but unlike Access it doesn't
recognise the "?" character return.
Ideally I would like to replace the "?" with a traditional CR symbol
(whatever that may be).

"Peter Tyler" <PL*****@gmail. com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. .
I have imported large text fields from Excel into Access 2000 which
contain many repetitions of the Carriage Return character similar to
"?".

How can I strip them out without doing it manually? The Find and
Replace function does not work as it does not recognize this character.

Thanks in advance for any advice.

Peter Tyler

Nov 13 '05 #2
I do know that Word can find & replace that character, so you might try
cleaning up the text file in Word, then importing the text/csv file into
Access. Visual basic uses "vbCr" or "Chr(13)" to represent carriage
returns.
-Ed

"Peter Tyler" <PL*****@gmail. com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. .
I have imported large text fields from Excel into Access 2000 which
contain many repetitions of the Carriage Return character similar to
"?".

How can I strip them out without doing it manually? The Find and
Replace function does not work as it does not recognize this character.

Thanks in advance for any advice.

Peter Tyler
Nov 13 '05 #3
rkc
Peter Tyler wrote:
I have imported large text fields from Excel into Access 2000 which
contain many repetitions of the Carriage Return character similar to
"â–¡".

How can I strip them out without doing it manually? The Find and
Replace function does not work as it does not recognize this character.

Thanks in advance for any advice.


Try running an update query on a copy of the table using the replace
function and see how things go.

UPDATE Table
SET ImportField = Replace([ImportField],Chr$(13) ,"");
Nov 13 '05 #4
>>UPDATE Table
SET ImportField = Replace([ImportField],Chr$(13) ,"")

Thanks. Daunting, but I'll give it a try!

Peter

Nov 13 '05 #5
Thanks for your response Ed.

Peter

Nov 13 '05 #6
Tried it out in Word 2002 but it doesn't find the "â–¡" character nor
does it treat the character as a manual line feed.

Peter

Nov 13 '05 #7
OK, I've done it. I dropped the Access column with the offending text
(about 800 records) back into Excel and ran the Clean() function, which
strips out "non-printable" characters, then copied it back into Access.
Works a treat!

Thanks for everybody's input.

Peter Tyler

Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1855
by: Hans Stoessel | last post by:
Hi I have a C application on a Windows PC who shoul delete files on a Sun which is in the same network. I try this with the 'remove' command, e.g. remove(\\Sun\Temp\File.jpg). But this doesn't work. The return code from remove is not 0 and the errno is 22 (invalid argument). What could be wrong? I have access to the Sun and have tried this with the directory mounted or
4
9312
by: francescomoi | last post by:
Hi. I'm trying to remove some characters within a string and substitute others. For instance, I want to convert: John's new house, great ---> Johns-new-house-great I tried with: ----------------//------------------ int main() {
7
22607
by: Steve | last post by:
string str ="\"C:\Program Files\Internet Explorer\iexplore.exe\" -nohome" How can I remove charcter to string str = ="C:\Program Files\Internet Explorer\iexplore.exe -nohome"
8
9264
by: Jan | last post by:
Hi there, Is there a way to remove spaces from a line of text? For example: vr 12-12-79 city village state name I want it to be:
3
9892
by: Mark | last post by:
I need to remove a square character from a text file. How can I locate a square character and remove it? Thanks. Mark
6
18413
by: Daniel Mark | last post by:
Hello all: I have the following snippet: In : fileName = 'Perfect Setup.txt\n' In : fileName = fileName # remove the '\n' character In : fileName Out: 'Perfect Setup.txt'
9
4006
by: Smiley | last post by:
Hi, Can someone tell me how to remove aspostophe (') from user input. I don't want to give any error message. Just want to remove or change it to "" or null, such input when it appear anywhere on a specific field. e.g. if user input abcd's. I want the final data on the database be look like abcds or abcd s MSAccess 2000
26
13809
by: Brad | last post by:
I'm writing a function to remove certain characters from strings. For example, I often get strings with commas... they look like this: "12,384" I'd like to take that string, remove the comma and return "12384" What is the most efficient, fastest way to approach this? Thanks,
4
9924
by: MC | last post by:
Is there a string function in .NET that will remove the accent marks from letters? I know that's a slightly vague request... and that I could implement it by table lookup (and will do so unless something's already there). But can it be accomplished by switching a string among "cultures" or something like that?
1
4100
by: nyc680 | last post by:
for this c program, i'd like to remove the substring "cc" and character "=" from input string "aaccbbccdd" the code below can only remove "cc" once, can somebody help me figure out how to remove other "cc" in the string also how to remove multiple character '=' ? #include <stdio.h> #include <string.h> char *Mystrcpy1(char *s, const char *cs); void func1(char *src, char *sub); int main(void)
0
9680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10173
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10006
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.