Results 1 to 6 of 6
  1. #1
    anartey is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2011
    Posts
    8

    Trouble with querry on multi valued field (Reserved error -3087)

    Hello,



    I have been getting an errror when i querry a multivalued fied. In the querry, I am trying to count the number of entries in the multivalued field. Can you please help ?>

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    My first advice is to not use multi-value fields. I won't.

    However, here is one possible approach. Do a query that lists all the values as separate records. Review this http://office.microsoft.com/en-us/ac...49297.aspx#BM4. Then use that query as the source for an aggregate query.
    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
    anartey is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2011
    Posts
    8
    Thanks. How can i get around not using a multi-valued field ? My problem is, I need to have a list of options to choose from and I want to be able to count my list of options

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Instead of multi-value field would need a related table. The table would have the appearance of the query that 'flattens' the multi-value field. What do you mean by a 'list of options'? You want choices restricted by value in another field? That is dependent (or cascading) comboboxes. Check this tutorial http://datapigtechnologies.com/flash...combobox2.html
    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.

  5. #5
    anartey is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2011
    Posts
    8
    Option as in List that you can choose from.

    Can you please provide me with an example of what you mean (in access format). Thanks !

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I think the tutorial link I provided offers an example of restricting user choices based on another value.
    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. Multi Valued field sort
    By bugman61 in forum Reports
    Replies: 2
    Last Post: 08-06-2011, 11:45 AM
  2. Does reserved code -3087 mean corruption?
    By MAM8433 in forum Access
    Replies: 1
    Last Post: 05-27-2011, 04:24 PM
  3. querying Multi-valued fields
    By switters in forum Queries
    Replies: 1
    Last Post: 04-21-2011, 10:59 AM
  4. Reserved error (-3703) help!
    By infinite26 in forum Access
    Replies: 3
    Last Post: 02-02-2011, 10:55 AM
  5. Append Query - Multi-Valued Field
    By catat in forum Queries
    Replies: 0
    Last Post: 05-11-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