?
Solved

Forcing a hard return or line break in an Input Box

Posted on 2003-03-14
4
Medium Priority
?
248 Views
Last Modified: 2012-05-04
strInput = InputBox("What is the Mailing/Drop Date for this Project? **NEED A HARD RETURN HERE** The preferred Drop Date is one week after something finishes.")

If strInput <> "" Then
    Me!SCHEDULE_SUBFORM!DUE_DATE = strInput
    Me!SCHEDULE_SUBFORM!TASK_DESC = "Mailing/Drop Date"
    Me!SCHEDULE_SUBFORM.SetFocus
    DoCmd.GoToRecord , , acNewRec
End If

Therefor, I want the input box to look like this:
What is the Mailing/Drop Date for this Project?
The preferred Drop Date is one week after something finishes.

Help please.
0
Comment
Question by:mriozzo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:bistrica
ID: 8139986
strInput = InputBox("What is the Mailing/Drop Date for this Project? & VBCRLF & The preferred Drop Date is one week after something finishes.")
0
 

Author Comment

by:mriozzo
ID: 8140064
didn't work.  & VBCRLF & printed in the line text.
0
 
LVL 34

Accepted Solution

by:
arbert earned 100 total points
ID: 8140082
Close:

strInput = InputBox("What is the Mailing/Drop Date for this Project?" & VBCRLF & "The preferred Drop Date is one week after something finishes.")

Brett
0
 

Author Comment

by:mriozzo
ID: 8140163
Perfect.  Thanks!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

777 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