Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2013
    Location
    New York, NY
    Posts
    8

    concatenate a lookup value

    Hi all - I have a small problem I was hoping someone could help me with. I have a table with a bunch of columns (call it Table A), one of those columns being a look-up (foreign key) to another table (call it Table B). I would like to have another column in Table A that is a concatenation of the value in 1 column on Table A with the look-up value from Table B. What is happening though is a concatenation of the value from Table A and the KEY from Table B. I understand why it is doing this, I just am not aware of a way to get the concatenate to use the lookup value instead of the foreign key. Is this possible?

    Thanks!

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    From a relational database standpoint, you usually should not ever try to store a value in a table which can be calculated. All calculations should be done/returned in queries.

    So why not just join your two tables in a query and do you calculation there via a Calculated field?

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

Similar Threads

  1. Concatenate with Tabs
    By Njliven in forum Queries
    Replies: 11
    Last Post: 01-25-2013, 08:58 AM
  2. Replies: 5
    Last Post: 03-13-2012, 01:13 PM
  3. Concatenate FROM Clause
    By Tyork in forum Queries
    Replies: 1
    Last Post: 05-20-2011, 02:12 PM
  4. concatenate
    By stephenaa5 in forum Programming
    Replies: 2
    Last Post: 10-11-2010, 05:18 PM
  5. Concatenate Formula
    By Shingo in forum Programming
    Replies: 1
    Last Post: 07-25-2009, 09:14 AM

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