Solved

Forcing a field to the next line in an text box

Posted on 2011-09-14
2
287 Views
Last Modified: 2012-05-12
Is there a command that I can add to a text field in a report that would force the second field to the next line on a report?  See below an example of the expression:

=[Address1]&”   “&[Address2]

I need Address2 force to the second line (I have already tried setting the field to shrink, which do move up the line below it, but if there is a Address2, I need it on a different  line below Address1
0
Comment
Question by:Delores_C
  • 2
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 250 total points
ID: 36537324
Are you trying to add a carriage return?

=[Address1] & chr(13) & chr(10) & [Address2]

Open in new window

0
 
LVL 61

Expert Comment

by:mbizup
ID: 36537337
If you need a space between the lines:



 =[Address1] & chr(13) & chr(10)  & chr(13) & chr(10) & [Address2] 

Open in new window

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now