Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    ny, ny
    Posts
    224

    Unanswered: prompt with more than one line

    I have a prompt with more than one line

    Salary@ = InputBox("Enter your salary.", "Calculate Weekly Salary")

    I need to have a prompt such that Enter , Your and Salary are in 3 different lines. I believe ((Chr(13)) is to be inserted in there
    I tried
    Salary@ = InputBox("Enter ((Chr(13))your ((Chr(13))salary.", "Calculate Weekly Salary")
    But that doesnt work, could you please let me know how to insert ((Chr(13)) so that each word appears in a new line

    Thank you

  2. #2
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    Quote Originally Posted by fullymooned
    I have a prompt with more than one line

    Salary@ = InputBox("Enter your salary.", "Calculate Weekly Salary")

    I need to have a prompt such that Enter , Your and Salary are in 3 different lines. I believe ((Chr(13)) is to be inserted in there
    I tried
    Salary@ = InputBox("Enter ((Chr(13))your ((Chr(13))salary.", "Calculate Weekly Salary")
    But that doesnt work, could you please let me know how to insert ((Chr(13)) so that each word appears in a new line

    Thank you
    "Enter" & vbcrlf & "your" & vbcrlf & "Salary"
    Back to Access ... ADO is not the way to go for speed ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •