Results 1 to 8 of 8
  1. #1
    alexbeatle is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    7

    Update Master Table Baesd on Slave Table

    Good day!

    I'm Access 2010 newbie. I need to transfer Excel program into Access.
    I have a .csv file (data extracted from emails) and a Master Excel sheet. Master Excel fields are updated from the .csv - if the primary keys match, else the new records are added.


    Also, the .csv contains colour names, which must be translated into corresponding peoples' names.
    Could you please guide me in the direction I need to do this project.
    Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Don't understand what you mean by 'master' and 'slave' tables? Don't understand the interaction between csv, Excel, Access. Are you importing into Access from Excel or csv?

    How should color names be translated into people names?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    alexbeatle is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    7
    Quote Originally Posted by June7 View Post
    Don't understand what you mean by 'master' and 'slave' tables? Don't understand the interaction between csv, Excel, Access. Are you importing into Access from Excel or csv?

    How should color names be translated into people names?
    Thank for reply.
    Let be try to better explain.

    Right now, I use Excel only. I have a Master sheet and everyday I generate a .csv sheet from emails (lets call it Slave sheet). Both have record numbers. This .csv sheet updates some columns in Master sheet, if the record number in .csv matches the one in the Master. Otherwise it adds new record.

    The emails come from Outlook. It has an option of colour-coding, where each colour is assigned to the person who looked and responded to that email. The generated .csv contains the colour names. I think I can just create a lookup table in Access for that part.

    I want to convert this into Access database.
    In the end, Access database should contain all the records from the .csv and I should then be able to generate reports on:
    - the records of emails looked at + name of the person who looked at it
    - the records of emails yet to be processed.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Can certainly do the same UPDATE/APPEND in access tables.

    I still don't get the color assignment. Why not just use people names or ID?

    What exactly do you need to understand?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    alexbeatle is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    7
    Quote Originally Posted by June7 View Post
    Can certainly do the same UPDATE/APPEND in access tables.

    I still don't get the color assignment. Why not just use people names or ID?

    What exactly do you need to understand?
    Right now, I'm looking at the UNION query, how would UPDATE/APPEND be different from it?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    A UNION query doesn't edit records or add records. Why would you consider UNION?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    alexbeatle is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    7
    Quote Originally Posted by June7 View Post
    Can certainly do the same UPDATE/APPEND in access tables.

    I still don't get the color assignment. Why not just use people names or ID?

    What exactly do you need to understand?
    I'm new to Access and came across UNION.
    So you're saying, the UPDATE/APPEND queries are more relevant?

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    If you want to add/update data from a csv file into Access table, yes.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 07-08-2014, 08:59 AM
  2. Replies: 3
    Last Post: 01-02-2014, 02:07 PM
  3. Update Master Table with Temporary Table
    By kagoodwin13 in forum Programming
    Replies: 2
    Last Post: 10-15-2013, 11:59 AM
  4. Replies: 2
    Last Post: 03-13-2013, 06:30 AM
  5. Replies: 5
    Last Post: 03-23-2012, 11:40 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