Results 1 to 3 of 3
  1. #1
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453

    Combine fields from different tables

    Hi

    I have two tables both of which have a field called inscription.

    I'd like to merge the two fields

    ie if one field is AB and the other cd I'd like to change it to ACBD in the first table

    I tried an update query but that overwrites the field.



    I think I have two options.

    1. Concatinate the fields

    2. Export the tables to excel where I can copy and paste the 2nd colum to the 1st table and then easily combine the fields. I would then import the table into my database as a new table and then run an update query.

    THis seems a bit long winded is there a better way?

    thanks

    Ian

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How about a query that concatenates the two fields, then an update query that updates the field you want from the 1st query's concatenated field?

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Or maybe VBA to concatenate the fields.....???

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

Similar Threads

  1. Replies: 9
    Last Post: 09-29-2015, 12:53 AM
  2. Replies: 2
    Last Post: 07-21-2015, 11:32 AM
  3. Replies: 2
    Last Post: 04-22-2015, 12:28 PM
  4. Replies: 7
    Last Post: 06-19-2014, 12:00 PM
  5. Combine two unrelated tables with the same fields
    By lghovden06 in forum Queries
    Replies: 4
    Last Post: 07-27-2010, 03:36 PM

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