Results 1 to 4 of 4
  1. #1
    dhaneshjs is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    7

    dhanesh

    Hi,



    I have a database that have three columns of address (adr1,adr2,adr3)
    i want to concatenate these three under one column "address".
    i wrote the query to concatenate.

    eg:-

    adr1 adr2 adr3
    abc def ghi

    and i got this as

    address
    abcdefghi

    But the issue is i want this to come as

    address
    abc
    def
    ghi

    Hope all gurus understood this. Please help me with this.

    Thanks in advance,
    Dhanesh

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    FullAddress:=[adr1] & vbCrLf & [adr2] & vbCrLf & [adr3]

  3. #3
    dhaneshjs is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    7
    Hi RuralGuy,

    It didn't solved my problem. still some part of first line address is coming with second address.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I would examine the records where you see this issue. I believe it is a data issue.

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums