Results 1 to 4 of 4
  1. #1
    smudger is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    1

    join two tables on multi-valued field

    Hi All,

    I am trying to join two tables on a multi-valued field and getting the error message:
    "The multi-valued field '[linking jobs to people].[linking jobs to people]' is not valid in the specified join clause."



    the mysql query (excuse table names and column names) is :
    "SELECT [linking jobs to people].[full_name], [linking jobs to people].[linking jobs to people]
    FROM [linking jobs to people] INNER JOIN [risks per job] on [risks per job].[jobs]=[linking jobs to people].[linking jobs to people]"

    Can a join be performed against a multi-valued field?

    Thanks a million,
    Smudger.

  2. #2
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,067
    First I would never use a multi valued field in a join. Don't know if it's possible I Just don't think it's appropriate.

    However if you must keep this in mind. When using an Inner join both fields must be equal so I believe if it's a multi-value field each value must match plus they must be in the same order.

  3. #3
    jwill is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Mar 2012
    Location
    MD
    Posts
    67
    I agree w/ Ray, having columns that house multiple values is not a good idea. If you have to combine them to make them useful to you, make them separate columns in the table and then concatenate them in a query. For instance instead of having a field called "Full Name" in a table, make a first name field and a last name field in the table and then concatenate them in a query ([first name]&' '&[last name]) as full_name . You still get what you need while having good structured tables.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    No, cannot directly join on multi-vaue field. Review http://office.microsoft.com/en-us/ac...001233722.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 5
    Last Post: 12-18-2011, 09:12 PM
  2. Multi Valued field sort
    By bugman61 in forum Reports
    Replies: 2
    Last Post: 08-06-2011, 11:45 AM
  3. querying Multi-valued fields
    By switters in forum Queries
    Replies: 1
    Last Post: 04-21-2011, 10:59 AM
  4. Append Query - Multi-Valued Field
    By catat in forum Queries
    Replies: 0
    Last Post: 05-11-2010, 01:52 PM
  5. Multiple valued field locking tables
    By Jamy in forum Programming
    Replies: 6
    Last Post: 02-19-2010, 11:24 AM

Tags for this Thread

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