Results 1 to 6 of 6
  1. #1
    Chky071 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    25

    Problem reading data from access database in Excel

    I have created an Access database that stores a significant amount of information about our products. I have an excel spreadsheet that performs calculations on that data. I have used the import data from Access tool in Excel to import the data. The problem I have is when the excel spreadsheet is open no one can modify my Access database. Is there a way to have Excel open and still be able to work on the database in Access? When the user on Excel needs updated information they can just hit the "refresh" button and everything up to that point that has been done in Access will update. I do not want Excel to be able to manipulate or change any values in my Access database.

    I am using Access 2007



    Thanks,
    Chad

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    My question is... why are you doing these calculations in excel and not access? I don't think I've encountered something that could be done in excel that could not be done in access.

  3. #3
    Chky071 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    25
    The reason for doing in Excel is I already have everything setup, previously all the data was stored in excel. I am very new to Access and decided it would be a lot easier to track all the data inside of Access and then do all the calculations in Excel. I am not opposed to doing the calculations in Access, it would just take me a significant amount of time to set it all up.

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    The problem sounds like you are not actually exporting data to excel, it sounds like you are linking an access table into an excel spreadsheet, when you do that the tables are going to be tied up. Either that or you are not terminating your connection to the Access database once the import is complete. You may also want to split your database (if you haven't) into a front end/back end, typically these sort of record locking problems go away when you separate your data from your user interface.

  5. #5
    Chky071 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    25
    rpeare, thanks for your your help. Since I am new to all of this I am very interested in what the best practices are. What would be the best way to separate my data from my user interface?

  6. #6
    Chky071 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    25
    Rpeare, I read up on how to split a database. I think this may have fixed the problem. Things seem to be working a lot better. Thanks for your help!

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

Similar Threads

  1. Replies: 5
    Last Post: 12-15-2014, 03:34 AM
  2. Text To Column problem while getting data from access in excel
    By scorpion99 in forum Import/Export Data
    Replies: 11
    Last Post: 01-06-2014, 04:28 PM
  3. Access data in Excel problem
    By Count Duckula in forum Access
    Replies: 2
    Last Post: 06-16-2013, 02:57 PM
  4. Replies: 1
    Last Post: 10-19-2011, 07:51 PM
  5. Web Based Solution Reading Access Database
    By EddieN1 in forum Access
    Replies: 1
    Last Post: 08-06-2011, 04:38 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