Results 1 to 2 of 2
  1. #1
    Pagey is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2020
    Posts
    4

    Error when importing data into sql database

    I have an import form in access that takes data I receive via a protected file and following some checks via queries (duplicates, dates etc) imports into a linked sql database.
    Everything works great, the password encryption and the importing into some tables, however I am receiving the following issues in the log report:

    "13:19:01 Error: The expression you entered as a query parameter produced this error: 'ReturnMbr_ByCnty.returning_Mbr_cnt'
    13:19:02 Error: Too few parameters. Expected 10."

    "13:21:40 Error: The search key was not found in any record."

    Not sure why this repeats x3 times:-


    "13:21:40 Error: The Microsoft Access database engine cannot find the input table or query 'Tab_Zip'. Make sure it exists and that its name is spelled correctly.
    13:21:41 Error: The Microsoft Access database engine cannot find the input table or query 'Tab_Zip'. Make sure it exists and that its name is spelled correctly.
    13:21:42 Error: The Microsoft Access database engine cannot find the input table or query 'Tab_Zip'. Make sure it exists and that its name is spelled correctly." <- This table is named 'Tab_Zip' and a query references it correctly.

    "13:21:42 Error: A non-blank value for Member Count is required in tbl_State." <- There is not a non-blank value on the excel worksheet this is referring to

    All other tables seem to be importing just fine

    Any pointers in the right direction so I can better understand this would be greatly appreciated!


    Thank you


    I also want to apologize if this is considered a repost but I have tried all the suggestions I have come across for these issues.



  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    It looks like you didn't feed it 10 parameters.

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

Similar Threads

  1. Replies: 6
    Last Post: 03-18-2019, 07:22 AM
  2. Automatically importing data from database?
    By VAer in forum Import/Export Data
    Replies: 14
    Last Post: 09-30-2016, 03:37 PM
  3. Importing data to a normalized database
    By ArticCat in forum Database Design
    Replies: 2
    Last Post: 02-01-2016, 11:53 PM
  4. Replies: 3
    Last Post: 03-28-2013, 12:58 PM
  5. Replies: 4
    Last Post: 11-10-2009, 04:36 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