Solved

Forcing a field to the next line in an text box

Posted on 2011-09-14
2
296 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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.

914 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

17 Experts available now in Live!

Get 1:1 Help Now