Results 1 to 5 of 5
  1. #1
    Gr0m is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2013
    Posts
    2

    Question Trouble Searching multivalued field

    Hi!
    I'm kind of a noob to access, but i am still trying to make a database containing the technicians of our companies.


    I found a online template i am using, and this has a quick search field.

    I have created a multivalued field that contains the technicians skills. (pulldown with checkboxes)

    When i try to use the quick search field access returns a error message saying something like:

    "The multivalued field '[Category]' can not be used in a WHERE- or HAVING-string."

    Freely translated from norwegian....
    The field i use for skills is an old category field.... Just renamed and changed a bit..

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You have just run into one of the reasons multi-value field type is a bad idea. Can't do search on the field.
    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.

  3. #3
    Gr0m is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2013
    Posts
    2
    Ok, do you have a better idea to solve my situation?

    What i really need is to get a solution, where i easily can find for example a light tech, rigger, or dj from our list of technicians.
    I have a long list of technicians, and need to put them in several categories. One technician can do several things, and i need to find them quickly.

    Please help?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Suggest you build a model of the data subjects involved and how they are related. Seems you would need some of these.

    A Technician table to identify uniquely each technician

    An "expertise" table

    A "category" table

    A junction table identifying which technician has which expertise(s)

    There are a number of free data models here
    http://www.databaseanswers.org/data_...all_models.htm

    You should research Normalization to help get your tables designed.

    good luck

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You can either redesign db as suggested by Orange which means a child table for the technician/skills associations or build a query that expands the multi-value field to have each skill on a separate row for each technician. This is what a normalized child table would look like. Then that query could be searched.

    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: 02-20-2013, 03:21 PM
  2. Replies: 2
    Last Post: 12-10-2012, 02:15 PM
  3. Multivalued Look-Up Field Problem
    By Mike Wood in forum Access
    Replies: 4
    Last Post: 02-27-2012, 01:26 PM
  4. Replies: 2
    Last Post: 06-29-2011, 11:42 AM
  5. Group report by a multivalued lookup field
    By jonsons in forum Reports
    Replies: 0
    Last Post: 12-01-2009, 04:08 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