Improve company productivity with a Business Account.Sign Up

x
?
Solved

Forcing a field to the next line in an text box

Posted on 2011-09-14
2
Medium Priority
?
348 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 1000 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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Implementing simple internal controls in the Microsoft Access application.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

595 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