Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    May 2002
    Location
    Quincy, Illinois
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Setting up a Carriage Return (Access 2000)

    I'm trying to set up an expression (in the query builder) to concatenate two fields together, and between the two fields, specify carriage return. I'm having a hard time setting this up. Does anyone know how I can specify a carriage return in the expression builder?
    (similar to the ALT+ENTER character in excel).
    Thanks,
    Drew

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Setting up a Carriage Return (Access 2000)

    Use something like

    =[Field1] & Chr(13) & Chr(10) & [Field2]

    Chr(13) is a carriage return, and Chr(10) is a line feed. The & character concatenates strings.

  3. #3
    2 Star Lounger
    Join Date
    May 2002
    Location
    Quincy, Illinois
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Setting up a Carriage Return (Access 2000)

    Thank you very much!
    Works great!

Posting Permissions

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