473,465 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Text box question

20 New Member
Hello,

Is there a way that whenever a certain symbol appears, to strip the symbol and have the line following the symbol move down to the next line in my text box.

Even if I can get the line to move down without removing the symbol would be fine.
I cannot paste the symbol on here, but it is a question mark inside a box. The symbol is coming from a Progress database I'm linking my tables to.

This is a textbox on a form, no need to save it to a table.

Thank you
Dave
Dec 14 '09 #1
7 1639
missinglinq
3,532 Recognized Expert Specialist
Since you can't even paste the symblem here, this is going to be problematical!

What Font is this symbol part of? Could you not use Windows Character Map (Programs - Accessories - System Tools) to find the symbol then copy it and paste it into the code window? If you can you can try this:

[TextBoxName] = Replace([TextBoxName], "@", vbNewLine)

replacing the ampersand (@) with your symbol. Where you'd do this depends on exactly what you're doing with the data. I suppose you could do a calculated field in a query, which would be have the syntax:

ParsedText:Replace([TextBoxName], "@", vbNewLine)

Then, in forms/reports use the ParsedText field instead of the imported field.

Linq ;0)>
Dec 15 '09 #2
dkotula
20 New Member
Thank you for the code above.

Strange, but if I copy the complete line from access, and paste it into word, the ? mark is gone and recognizing it as a new line. My guess is that access is placing the question mark in the fields. Do I need to change the properties for the textbox to allow additional lines in my form?
Dec 15 '09 #3
dkotula
20 New Member
Same thing when I paste here. See below:


VALVE STEM 316L - 1/4"
MATERIAL: SA479-316L
FINISH: < 15 MICROINCHES RA ON ALL SURFACES

Font in word shows up as Calibri (Body)
Dec 15 '09 #4
dkotula
20 New Member
Wow, changed the font to Txt and it works correctly.

Dave :)
Dec 15 '09 #5
dkotula
20 New Member
Nope, spoke too soon, just replaced it by a vertical line
Dec 15 '09 #6
dkotula
20 New Member
See attached screen shot.
Attached Images
File Type: jpg Screenshot.jpg (20.6 KB, 97 views)
Dec 16 '09 #7
dkotula
20 New Member
I'm finding that this is a line break issue, and have set the following:
Can Grow
Enter Key Behavior = New Line in Field

This has not changed anything.
It appears to me that the text box properties need to be changed to allow line breaks, or whatever indicates a linebreak from the source is incompatable.

If the data is pasted to other office programs, it seems to work correctly, although I cannot paste it to Notepad.

How can I get the text box to be compatable with the type of text displayed?

Thank you
Dave
Dec 16 '09 #8

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

Similar topics

3
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up...
11
by: Yeah | last post by:
I have a multiple choice quiz where I would like to use CSS to change the color of the answers upon clicking them. I would like to present the right and wrong answers up front, rather than direct...
60
by: Julie | last post by:
What is the *fastest* way in .NET to search large on-disk text files (100+ MB) for a given string. The files are unindexed and unsorted, and for the purposes of my immediate requirements, can't...
4
by: drew197 | last post by:
I am a newbie. I am editing someone elses code to make it compatible with Firefox and Safari. In IE, when you click on the proper link, a block of text is shown in a nice paragraph form. But, in...
1
by: sck10 | last post by:
Hello, I am inserting the values for radio buttons on a form into a database. There are 25 questions with 4 possible answers (see below). Is it possible to pragmatically build the radio button...
3
by: o.o.Pb.o.o | last post by:
The title is pretty vague, I couldn't agree on how to word my inquiry correctly, but I can explain. I'm writing a simple wiki script that is contained in one HTML file (yes, it's been done before)....
3
by: vtashore | last post by:
I downloaded Steve Leban's RTF2 control and it works as advertised. Good news! After reading reference material on the RTF standard codes, I have been able to write update queries to universally...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
6
by: portCo | last post by:
Hello there, I am creating a vb application which is some like like a questionare. Application read a text file which contains many questions and display one question and the input is needed...
11
by: Mike Harrison | last post by:
Hi, I have some simple HTML like this: <div id="container" style="width:100%;"> <input type="text" <input type="button" style="float:right;" value="Click here..."> </div> I want the button...
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
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,...
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...
0
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,...
0
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.