473,499 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report Shows the "Return" Character

I have a textbox field on a report that shows an Address. The field is
built up in code when the user selects the customer in the following
manner:

ShipAddress = CustomerName & vbCR & CustomerAddress & vbCR & Customer
City (etc.)

This is done and put into the ShipAddress field on another table.
The ShipAddress field is displayed on a report with the character for
the vbCR ("little box"). How can I get around this problem??

Thanks
Bill
Nov 12 '05 #1
3 4037
"~TheIcemanCometh~" <bh********@delta-elevator.com> wrote in message
news:8d**************************@posting.google.c om...
I have a textbox field on a report that shows an Address. The field is
built up in code when the user selects the customer in the following
manner:

ShipAddress = CustomerName & vbCR & CustomerAddress & vbCR & Customer
City (etc.)

This is done and put into the ShipAddress field on another table.
The ShipAddress field is displayed on a report with the character for
the vbCR ("little box"). How can I get around this problem??


You need a carriage return AND a line-feed. Use VbCrLf.
Nov 12 '05 #2
ShipAddress = CustomerName & vbCR & CustomerAddress & vbCR & Customer
City (etc.)

This is done and put into the ShipAddress field on another table.
The ShipAddress field is displayed on a report with the character for
the vbCR ("little box"). How can I get around this problem??


You need to replace the vbCr constant with vbCrLf or vbNewline to get the full
carriage return. Just one question ... why are you storing this value when it
can be generated on-the-fly (as you did to place it into the field)? Is it for
historical reasons?

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.org (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #3
"~TheIcemanCometh~" <bh********@delta-elevator.com> wrote in message
news:8d**************************@posting.google.c om...
I have a textbox field on a report that shows an Address. The field is
built up in code when the user selects the customer in the following
manner:

ShipAddress = CustomerName & vbCR & CustomerAddress & vbCR & Customer
City (etc.)

This is done and put into the ShipAddress field on another table.
The ShipAddress field is displayed on a report with the character for
the vbCR ("little box"). How can I get around this problem??

Thanks
Bill

Try this:

=[CustomerName] & Chr$(13) & Chr$(10) & [CustomerAddress] ...etc

Fletcher
Nov 12 '05 #4

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

Similar topics

10
12814
by: KENNY L. CHEN | last post by:
Dear experts, I have two tables in my Oracle 8i database: TEST (COL1,COl2,REC_NO) and TEST1 (COL1,COL2,REC_NO). Both tables are unique-indexed on (COL1,COL2,REC_NO). I think the following...
3
3977
by: gambler | last post by:
let's say you have: var games = new Array(); games = new GAME(gameNum, rotNum1, rotNum2, ... ); ( so a sparsley populate array which enables me to locate a game usin the game number...
10
2586
by: LaEisem | last post by:
On-the-job, I have "inherited" a lot of old C language software. A question or two about when "casting" of null pointer constants is needed has occurred during behind-the-scenes cleanup of some...
0
2545
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below)...
1
2000
by: vl106 | last post by:
char* foo () { return "abc"; } I compiled the above code both with MSVC and GCC for PPC. The string "abc" is generated as a global entity. Thus (1) foo doesn't return a temporary and (2) no...
13
3984
by: kurtj | last post by:
Hello Gurus: I have a validation script (below) that is somehow messed up. If the Name field is blank, I get the alert message, then the browser window goes to a blank document with the word...
7
20675
by: Drum2001 | last post by:
I have created a database to track employee time. Within that, I have also created a report off the following query: SELECT ALLTasksFilter.ProjectName, Sum(.NumberOfCompletions) AS...
1
1309
by: Jorgen [DK/2600] | last post by:
Hi, another problem I have is that have compounded fields in my sql table. Example product@customer I need a simple function to return "customer", so it should return the value after...
1
1320
by: tgphelps | last post by:
I've got this 20,000 row table. It had never given anyone trouble. I'm not a particularly good SQL Server admin, but I'm all we have. I was certified on MSSQL 7, some years ago, but it's just a...
0
7014
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
7229
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...
1
6905
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
7395
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...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4609
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
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
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 ...
0
311
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.