Results 1 to 3 of 3
  1. #1
    bigdaddy757 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2013
    Posts
    1

    Don't know if I should merge tables (please help)

    Greetings! I am a totally new user to the AccessForums. I found this site while combing the web for a solution to my problem.

    I have to build an Access database that tells someone what account to charge to when performing certain work. Unfortunately, the information I need is split into two tables.
    tblAccts: department,contractNumber, taskNumber,activityDescription,supervisorID, accountNumber
    tblWorkDefinition: contractNumber, taskNumber, taskDescription, buildingNumber

    I'm simplifying my tables a LOT just so you see the gist of what I'm saying here. Note that each table has two fields in common: contractNumber and taskNumber. Iin tblAccts, multiple departments can use be working under the same account and the same task, but have different accountNumbers associated with them.



    Can I pre-merge the two fields in Excel by finding all the common records in each table where I concantenate contractNumber&taskNumber? Then, import that combined table into Access?

    Or, is there a way that I can use SQL to sort of "stitch" the two tables together when it sees the common values between those two fields in the two tables? How would I do that?

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Before you do anything read up on table normalization.

    It might save you some heartburn later.

    Dale

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Follow Dale's advice -- read up on Normalization. Also, if you're working in Access and excel you may be making life more difficult for yourself than you realize. These are different products and different concepts.
    Tables, Normalization , Primary and Foreign keys are critical to database.

    Take a look at post #3 here for some links.

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

Similar Threads

  1. Merge linked tables!
    By thaonguyen1013 in forum Access
    Replies: 14
    Last Post: 02-01-2012, 04:03 PM
  2. Join/merge/mix tables problem
    By niculaegeorge in forum Queries
    Replies: 2
    Last Post: 07-10-2011, 08:39 AM
  3. Replies: 3
    Last Post: 03-27-2011, 03:02 PM
  4. Mail merge from two access tables
    By Peter in forum Access
    Replies: 2
    Last Post: 08-24-2010, 12:17 PM
  5. How do I Merge Four Tables Together
    By SteveI in forum Queries
    Replies: 1
    Last Post: 03-04-2010, 10:53 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