Results 1 to 4 of 4
  1. #1
    Niven is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    5

    how to update database from excel file, use copy/paste?

    Hello,

    I have an excel file with 4 coloumns, and the database (access 2003) has more than 4 coloumns, is there a way for me to use the data import wizard to update the database. there are entries in the database that also correspond to the excel doc, but the excel doc has data that is more uptodate.

    is there a way for me to just copy and past the excel data into the 4 coloumns that correspond? I keep getting an error when i do that.

    your reply is appreciated.

    thank you

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    you should import your excel spreadsheet into a temporary table in Access. You should then run an update query on the temp table to update the main table.

    Look here for how to do an update query.

    http://www.databasedev.co.uk/update_query.html

  3. #3
    Niven is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    5
    Quote Originally Posted by alansidman View Post
    you should import your excel spreadsheet into a temporary table in Access. You should then run an update query on the temp table to update the main table.

    Look here for how to do an update query.

    http://www.databasedev.co.uk/update_query.html
    Im really having difficulty doing an update query, i tried reading that but it seems complex. The actual databse has 12 coloumns with about 4000 entries. I have a excel spreadsheet with only 4 columns correspond to the original database. Data in the 4 coloumns are also repeated in the actual database, but with some updates. WHats the easiest way of doing this, cant I just copy and paste/replace?

    please help

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    What issues are you having doing an update query? Your latest thread is a repeat of what you stated in the original. Help us to help you. More information. The easiest way is an update query. What steps did you attempt and what results did you obtain. Would you like to upload some sample data of your current db and some sample data of your excel spreadsheet. If you do this, tell us what your expected results should look like. Without more information, it will be difficult to give you any better response. At this point we would be just guessing as to what the issues are.

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

Similar Threads

  1. Copy Paste the entire MS Access Database
    By mkc80 in forum Access
    Replies: 6
    Last Post: 08-24-2012, 01:07 PM
  2. How to copy and paste between worksheets in Excel?
    By Ronald Mcdonald in forum Programming
    Replies: 6
    Last Post: 05-26-2012, 10:40 PM
  3. Copy and Paste Format From Excel (attached)
    By KrenzyRyan in forum Import/Export Data
    Replies: 2
    Last Post: 01-02-2012, 05:56 PM
  4. COPY records from SUBFORM and PASTE to EXCEL?
    By taimysho0 in forum Programming
    Replies: 9
    Last Post: 11-28-2011, 02:45 PM
  5. Copy-Paste
    By BorisGomel in forum Access
    Replies: 4
    Last Post: 10-25-2011, 07:17 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