473,396 Members | 1,938 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.

Replacing character with non-printing character

Hi,
I would like to find all instances of the "^" symbol in an Access table and replace with the non-printable CTRL & ENTER in order to create new lines when printing the data in a text box.

Do you have a suggested script?
Thanks!
Sep 2 '11 #1
1 1640
NeoPa
32,556 Expert Mod 16PB
Not a well-asked question, but we'll do what we can with it.

Try something like :
Expand|Select|Wrap|Line Numbers
  1. UPDATE [YourTable]
  2.    SET [YourField] = Replace([YourField],'^',Chr(13) & Chr(10))
Be aware though, it may still not behave as you expect depending on where you try to use it.
Sep 2 '11 #2

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

Similar topics

1
by: KwikRick | last post by:
Is there a simple way to read from stdin without having to wait for an enter keypress, i.e. like getch() in the curses module. I'd rather not use curses because it isn't supported on all...
2
by: jonny | last post by:
Everyone, I am having a problem with perfromance and the drawing of strings on a panel control and I am hoping you all can help or at least provide me with some good reference material. Here is...
1
by: dhingchangs | last post by:
Hi, I want to read a sequential file character by character and the check each character for the position and process further. The lenght of file can be anything. Actually my purpose is read a...
2
by: Sarahger9 | last post by:
Hi, I am writing a code that requires me to search for words within a text document. I had to build up words one character at a time in order to ignore punctuation when I search for the words. I...
0
by: buu | last post by:
How could I replace all characters from string wich are not characters, numbers or some punctuation? note that I would not like to use any kind of loops is there any simple way?
6
by: bmerlover | last post by:
I'm trying to read each line, character by character, to determine if a line has a semicolon in it. I'm trying to count the number of lines that have a semicolon. In all of the files in one...
2
by: RJSF | last post by:
Hi, I have problem, where I need to replace the 8th character in a varchar string eg 002556-108823-AN-02 ie I need to change the 1 to 3. (and 2s to 4s in other strings eg 040598-20066-AN-02) ...
2
by: puneetmca | last post by:
hello dr.......... i m trying to store a text file into database below format of text file i hv text file like this: 0100102001110271 0409141151I1476201 0100102001110125 0409141351O1476301...
1
by: abhinuke | last post by:
So I have to read these two files one of which is small and other one contains more than 100k characters.I am trying following combinations but no result.Its just end up in Segmentation fault. ...
0
yoda
by: yoda | last post by:
So has the title says I need to find a away to loop over a Character ArrayList and replace the characters with a values from a HasMap. This is a simple encryption but I can't figure it out. What...
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: 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
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...
0
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...
0
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...

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.