Results 1 to 3 of 3

Thread: CONCATENATE() feature

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Posts
    69

    Cool CONCATENATE() feature

    Hey guys,

    I got a question about concatenate() function. I have an excel wooksheet which has 2 fields that I want to combine and transport it into access database. For Example:

    Column 1 Column 2
    22 001
    22 002
    22 010
    33 011
    55 051
    66 101
    77 110
    88 210



    My question is what is the easiest and most efficient of concatenating it? Currently, I have the 2 columns as text so I can have the leading zeros if necessary.

    The "&" symbol in Access truncates the leading zeros. So, I tried by sticking "0" in the middle, but access is dropping the trailing number in the ends.

    I was looking at excel about Concatenate() function. I took the relevent columns and made a seperate sheet. The third column would have the concatenated field. I thought it was simple plugging in the cells that I wanted to concatenate. But it is only displaying the function(formula) and NOT the answer. Note: I have both columns as text to display the leading zeros.

    Any Solutions?

    Thanxs in advance ,

    Manoj

  2. #2
    Frenzied Member PilgrimPete's Avatar
    Join Date
    Feb 2002
    Posts
    1,313
    Probably a stupid question (so I apologise in advance), but have you remembered to put the equals sign before the Concatenate()?

    i.e.
    =CONCATENATE(B1,C1)
    not
    CONCATENATE(B1,C1)

  3. #3
    Lively Member
    Join Date
    Feb 2002
    Location
    North Carolina, US
    Posts
    81
    It sounds like your data type in Access is number of some sort. If it is text it shouldn't drop anything. Also, if you are concatenating in Excel you can use the '&' sign instead of Concatenate().

    C1=A1&B1

Posting Permissions

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



Click Here to Expand Forum to Full Width