Results 1 to 7 of 7
  1. #1
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43

    Query Error multivalued fields and db fields aren't multivalued


    Hi
    I have an access db that is linked to a sharepoint list (the list originated in Access).
    I tried a simple select query with parameters to search for by id and another query of the same table to search by date.
    They both come back with the same error of "cannot reference a table with a multivalued field using an IN clause that refers to another database"
    Iv'e gone through the table and these fields that the query is using and none seem to have any multivalues.

    Anyone encounter this?
    Can this have something to do that its linked to sharepoint?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    http://office.microsoft.com/en-us/ac...001233722.aspx

    Does the sharepoint database have a CHOICE field?

    Do you have access to the sharepoint database itself? can you examine the design of the tables on the 'back end'?

    I suspect it has to do with the design of the sharepoint side tables, NOT how you have linked them into your database.

  3. #3
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43
    Thank you for replying
    The list originated on my computer in access and the fields that I am trying to query don't have any choices.
    Is there any reason to think it changed on upload?

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I don't have any experience with sharepoint and creating web databases, but problems with multi value fields are common and I do not know why MS allows them at all. If you designed the database on the sharepoint site and didn't include any multi value fields or calculated value fields I am not sure what to do, I would think there is some flaw in the table design of the database on the sharepoint site. However you may be able to rework your query so it doesn't use the IN clause, but I would look at the field you're examining with the IN statement, that is likely the problem field.

  5. #5
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43
    Thank you again
    The problem is that there is absolutely no IN clause in the query.

  6. #6
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    How about this,

    make a copy of your database, instead of linking the tables, import them from the source then run your stuff and see what happens.

    What is the SQL of your query?

    You can also try rebuilding your query step by step, adding one field/table at a time until it breaks that should give you a good clue as to where the problem lies.

  7. #7
    Arnold is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    43
    Thanks
    I will try working on this.

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

Similar Threads

  1. Audit Trail with Multivalued fields
    By Accessrookie2013 in forum Forms
    Replies: 9
    Last Post: 05-22-2013, 09:32 AM
  2. Replies: 3
    Last Post: 03-13-2013, 04:00 PM
  3. Replies: 1
    Last Post: 01-28-2013, 11:59 AM
  4. MultiValued Fields
    By Lorlai in forum Access
    Replies: 0
    Last Post: 06-10-2011, 10:25 AM
  5. Multivalued fields
    By ydt in forum Forms
    Replies: 1
    Last Post: 08-25-2010, 01:52 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