Results 1 to 6 of 6
  1. #1
    brandon is offline Novice
    Windows XP Access 2003
    Join Date
    May 2008
    Location
    usa
    Posts
    7

    merging two fields

    I need to create a query that will take a 3 character code from one query then merge that 3 character code from another table that has a different 3 character code. With those, I'd like one field with a 6 character code.



    If it makes it easier, I can create a table that contains that first 3 character code that I need rather than a query.

    This will solve a problem...we have 20 areas that we monitor out of 200 that have a 4 character code that rolls up to this 3 character code. I've run select/where statements to filter it down to the 20 we want. Then, there is another table of about 250 3 character codes that will need appended to that list of 20 3 character codes I get. I really need all 250 3 character codes to append to each one of the 20 to make 600 rows. Is that possible? What kind of query would I run?

  2. #2
    Flekrad is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    18
    Still very new to Access here, so apologies if this doesnt work. Could you create a new Query that uses your 3number code query and the second table , and instead of dragging the fields down into the query write
    Code:[NameOfFieldFrom1stTabe]&[NameOfFieldFrom2ndTable]

  3. #3
    brandon is offline Novice
    Windows XP Access 2003
    Join Date
    May 2008
    Location
    usa
    Posts
    7
    I'm not sure what you mean. What kind of query are you suggesting I run?

  4. #4
    Flekrad is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    18
    Just a select query at 1st to see if it reads your data, and produces a list of the combined numbers.

  5. #5
    brandon is offline Novice
    Windows XP Access 2003
    Join Date
    May 2008
    Location
    usa
    Posts
    7
    sweet! that works thank you!

  6. #6
    Flekrad is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2010
    Posts
    18
    Excellent !! Glad to hear

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

Similar Threads

  1. merging PDF files
    By cuzza69 in forum Programming
    Replies: 1
    Last Post: 01-29-2010, 07:13 AM
  2. Merging 2 tables
    By todavy in forum Queries
    Replies: 4
    Last Post: 12-02-2009, 10:12 AM
  3. Replies: 8
    Last Post: 11-04-2009, 04:22 AM
  4. Merging
    By bailey537 in forum Queries
    Replies: 0
    Last Post: 07-14-2009, 04:14 AM
  5. Merging values in Access
    By jains in forum Forms
    Replies: 0
    Last Post: 06-08-2009, 09:31 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