473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Control Characters

4
I imported data from Excel into Access. In the Excel cells the text has been formatted with carriage returns. Access does not recognize them as such and the text looks like this:

ZJP-2024-100-A1 □ ZONE JUNCTION BOX □INSIDE SOUTH WALL NA BUILDING

The □ is the unregcognized character.

The question is how do I replace this character with a proper carrige return in an Acces field (the field type is Memo)
Jul 19 '07 #1
4 4253
nico5038
3,080 Expert 2GB
Guess the data is from a UNIX machine.
This will use a Linefeed (Chr(10)) instead of the Windows CarriageReturn & Linefeed (chr(13) and chr(10))

Use in code:
MemoField = replace(MemoField,chr(10),vbCRLF)

Nic;o)
Aug 1 '07 #2
Hi,

I have a simlar problem, and I want a macro to replace all incidents of a carriage return in one field in an Access table with spaces.

How can I do this within VB?

Jon
Aug 6 '07 #3
nico5038
3,080 Expert 2GB
Dear jonnyboy,

Please post a new discussion, thus making it visible to more experts and keep this thread "clean" so future readers aren't confused :-)

Thanks !

Nic;o)
Aug 6 '07 #4
Sorry Nic, will do.
Jon
Aug 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Peter O'Reilly | last post by:
I have an HTML form with a textarea input box. When the user conducts a post request (e.g. clicks the submit button), an HTML preview page is presented to them with the information they have...
1
by: rcamarda | last post by:
Beyond my control: I am finding control characters (likely tab) is making its way into address fields of our operational system. This is messing me up when I load the data into our warehouse w/ BCP...
2
by: Tim Zych | last post by:
I have a code library that I developed in ASP.Net. The code displays in a web form via a System.Web.UI.WebControls.Label. It works well because I can search for code snippets and then highlight...
3
by: Frank Niessink | last post by:
Hi list, First of all, I wish you all a happy 2006. I have a small question that googling didn't turn up an answer for. So hopefully you'll be kind enough to send me in the right direction. ...
11
by: Ron L | last post by:
I have a barcode scanner which uses a "keyboard wedge" program so that the data it scans comes through as if it was typed on a keyboard. I am trying to have the data in the barcode be displayed in...
2
by: Mick_fae_Glesga | last post by:
Hello everyone! OK, I'm writing a windows program that requires the user to enter Cyrillic characters into an Edit control. But, I can't seem to get the Cyrillic characters to appear in the...
5
by: Dinsdale | last post by:
I have an application that recieves text data via external input (i.e. serial) and displays it on the screen (we use carraige return as a delimiter). At this point I use a regular old text box and...
9
by: Andreas Prilop | last post by:
Unicode Technical Report #20 http://www.unicode.org/reports/tr20/ considers bidirectional control (formatting) characters as "not suitable for use with markup". This has sometimes been...
0
by: =?Utf-8?B?am1obWFpbmU=?= | last post by:
I'm trying to create a process that allows me to limit the non-alphanumeric characters generated with the PasswordRecovery control. Specially I want to suppress some characters for security...
7
by: wannymahoots | last post by:
optparse seems to be escaping control characters that I pass as arguments on the command line. Is this a bug? Am I missing something? Can this be prevented, or worked around? This behaviour...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.