Results 1 to 6 of 6
  1. #1
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727

    import table

    All; using access 2010. Trying to set up an import table from an external database.


    Code:
    DoCmd.TransferDatabase acImport, "Microsoft Access", "Y:\DevTest\Folder\2013 01 Some Data Name", acTable, "tblName", "tblName"
    I get an error 3024 could not find the file Y"\DevTest\Folder\2013....
    The database I am importing from is a 2003 .mdb
    I tried the brackets because the file has spaces in it but still get the same error.
    What am I doing wrong please?

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Try adding the extension:

    Code:
    DoCmd.TransferDatabase acImport, "Microsoft Access", "Y:\DevTest\Folder\2013 01 Some Data Name.mdb", acTable, "tblName", "tblName"

  3. #3
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727
    thanks for replying. Tried this. Still getting the error. I tried taking out the spaces. Still Errors.

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I just tested the command using (A2000):
    Code:
    DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\AccMDB\cpr.mdb", acTable, "CertificationsT", "CertificationsT"
    The table transfered, no problems..

    Can you manually import the table?
    Move the file to your computer (C drive) and try importing.
    Can you manually open the database (it is not corrupt)?
    You have permissions (assuming "Y" is a network drive)?

  5. #5
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727
    Got it! Someone converted the database to 2010 without communicating to the users!! Thanks for all your help.

  6. #6
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Great.

    Might want to change the extension to " .accdb"

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

Similar Threads

  1. Can't import to table
    By jessgold in forum Access
    Replies: 7
    Last Post: 11-12-2012, 12:42 AM
  2. Import xml file to table
    By artec in forum Import/Export Data
    Replies: 12
    Last Post: 07-14-2012, 07:29 AM
  3. import from excel to one table
    By mojtaba79 in forum Import/Export Data
    Replies: 4
    Last Post: 06-22-2011, 05:39 PM
  4. import table from website
    By scream in forum Import/Export Data
    Replies: 1
    Last Post: 04-16-2011, 07:14 AM
  5. Replies: 7
    Last Post: 04-15-2011, 08:46 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