Results 1 to 3 of 3
  1. #1
    wpppat is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Location
    Saint Louis Metro Area
    Posts
    1

    Run-time error '3349'

    code DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel12, "Import", strFileName, True, ""



    Import stopped working when I split the database.
    This willbe a multi user application but sohould some tables be with the forms? Is this even customizable?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    What is the text of the error? I have that type of code working with split databases, so I don't think it's that.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Error 3349:
    You cannot record your changes because a value you entered violates the settings defined for this table or list (for example, a value is less than the minimum or greater than the maximum). Correct the error and try again.
    http://www.fmsinc.com/microsoftacces...ption2007.html

    I am not sure and just making a guess.
    Splitting the db removes the actual tables from the db and puts them in another database.
    Looks like the code is trying to put the spreadsheet into table "Import".
    Try making an empty table named Import.
    If this works then you will have to give the above code the path and name of the BE where the tables are.

    Dale

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

Similar Threads

  1. Replies: 3
    Last Post: 03-05-2013, 11:17 AM
  2. Error: Run-time error '13' Type mismatch
    By uronmapu in forum Access
    Replies: 1
    Last Post: 09-07-2012, 05:38 AM
  3. Replies: 0
    Last Post: 07-16-2012, 05:42 AM
  4. Replies: 6
    Last Post: 05-30-2012, 12:32 PM
  5. Replies: 5
    Last Post: 03-27-2012, 01:40 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