Results 1 to 9 of 9
  1. #1
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370

    Filtering Question

    Click image for larger version. 
<br /><script async src=
    Name: FilterQuestion.jpg  Views: 12  Size: 59.5 KB  ID: 17620" class="thumbnail" style="float:CONFIG" />

    How do I get the second filter to show all the values and allow me to check which ones I would like to select? I cant seem to recall how to do this. I remember having to do it a while back, but it's slipped my mind.

    Thanks guys

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Are you clicking the Filter button on the ribbon?
    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
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Yep in both instances

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    The second one looks like a combobox on form or maybe a lookup field in table.

    I did a test with several comboboxes on form, all are 1 column. One of them doesn't show list, all the others do. I don't know why that one is acting different.

    I also tested with textboxes, they all show the list.

    I tested a textbox bound to the same field as that one combobox and that does not show the list.

    Sorry, I am baffled.
    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
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Its ok, thank you for looking into it June7! I'll leave the thread un-marked, that way if I ever find an answer, I can resurrect this post with an answer!

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    More about my test. Think I found the issue, at least with my db.

    The form has a query as RecordSource. The query joins primary table with another table so related info can be displayed (but not edited). Then I also have a combobox that has RowSource pulling list from the related table. Both tables have a field with same name as the other (the PK/FK linking fields - these are text, not autonumber), although only the one from primary table is pulled into query. The combobox is listing values from the PK field of the related table. I am not saving ID, I am saving descriptive text.

    Either of the following options fix the issue:

    1. change name of one of the fields

    2. remove the related table from the form RecordSource
    change combobox to multi-column to pull in related info and textboxes refer to the columns to display - however, cannot use these textboxes to filter records

    I went with option 1.
    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.

  7. #7
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    So changing the names to have them NOT Equal fixed this for you? so instead of [PlanID] = [PlanID] make it [PlanID] = [IDPlan] ??

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    I changed the field name in the related table from District to DistrictID. The name change propagated to the combobox RowSource SQL and the form RecordSource SQL. All works now.
    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.

  9. #9
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Gotcha, sounds good, I'll give it a try.

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

Similar Threads

  1. Replies: 4
    Last Post: 08-25-2012, 07:19 PM
  2. Form filtering question
    By jscriptor09 in forum Access
    Replies: 1
    Last Post: 04-11-2012, 03:39 PM
  3. Filtering Records Question
    By manic in forum Programming
    Replies: 5
    Last Post: 04-03-2012, 08:48 AM
  4. Filtering
    By BannedOak in forum Access
    Replies: 9
    Last Post: 05-22-2011, 02:10 PM
  5. Question on filtering a form
    By jbarrum in forum Forms
    Replies: 12
    Last Post: 02-15-2010, 11:38 AM

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