473,500 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Carriage Return Issue

I have a VBA function that returns a string including "vbcr" (VB Carriage
Return) to seperate a list into multiple rows, eg Item1 & vbcr & Item2 &
vbcr & Item3
This works as planned in the immediate window, producing a list where a
Carriage Return follows each item. But when I output the result into either
an Access query or form, instead of carriage returns I get little square
symbols between each of the items. Is anyone able to tell me how to achieve
my objective of getting carriage return characters in vba that Access can
interpret?
Nov 13 '05 #1
2 4111
"Andrew Chanter" <he****@radsolutions.com.au> wrote in message
news:nx******************@news-server.bigpond.net.au...
I have a VBA function that returns a string including "vbcr" (VB Carriage
Return) to seperate a list into multiple rows, eg Item1 & vbcr & Item2 &
vbcr & Item3
This works as planned in the immediate window, producing a list where a
Carriage Return follows each item. But when I output the result into either
an Access query or form, instead of carriage returns I get little square
symbols between each of the items. Is anyone able to tell me how to achieve
my objective of getting carriage return characters in vba that Access can
interpret?


Standard Access controls require both a carriage return and a line feed. Use
vbCrLf instead.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
many thanks Rick

"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:30*************@uni-berlin.de...
"Andrew Chanter" <he****@radsolutions.com.au> wrote in message
news:nx******************@news-server.bigpond.net.au...
I have a VBA function that returns a string including "vbcr" (VB Carriage
Return) to seperate a list into multiple rows, eg Item1 & vbcr & Item2 & vbcr & Item3
This works as planned in the immediate window, producing a list where a
Carriage Return follows each item. But when I output the result into either an Access query or form, instead of carriage returns I get little square
symbols between each of the items. Is anyone able to tell me how to achieve my objective of getting carriage return characters in vba that Access can interpret?
Standard Access controls require both a carriage return and a line feed.

Use vbCrLf instead.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #3

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

Similar topics

3
9252
by: Canes_Rock | last post by:
The information posted at: ...
4
18649
by: Josh | last post by:
Hi, I'm using System.Data.DataSet.ReadXml to convert some xml from a webservice to a DataSet. The xml looks like: <?xml version="1.0"...
3
2257
by: Simon Middlemiss | last post by:
I have a multiline textbox which I would like populated in the following manner. "Line1 Line2 Line3 Line4" etc. I know how to do it in code, but is there a way to do it in the design view?
1
1338
by: Wolfgang Schmidt | last post by:
Hello, I have several datagrids in my application. At the moment, data rows which are in editmode can only be saved by clicking the corresponding save button. I would like to add the function...
2
2315
by: Matt Mercer | last post by:
Hi all, I am having a frustration problem, and I have read about 25 newsgroup postings that do not have a satisfying answer :) The problem appears to be common where carriage returns are lost...
8
11111
by: crjunk | last post by:
I have a field in a SQL Server table named DetailedDescription that is a varchar. If the user adds/edits a detailed description, they do so in a MulltiLine TextBox control. Therefore, they are...
1
4160
by: nur123 | last post by:
Thanks in advance who will look at it. I have been encountering an issue which I can’t find a way out of it. What my pgm does: It (java codes) reads oracle table data and creates flat text...
2
3922
by: polohero | last post by:
I am using an FtpClient.cs that someone else created and when I'm uploading (it uses a Socket) a file a carriage return is getting deleted when the file appears on the ftp location. Normally this...
0
7136
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
7182
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,...
1
6906
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
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
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
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
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 ...
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
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...

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.