Filtering subform using text boxes?

NewShoes

Registered User.
Local time
Today, 05:02
Joined
Aug 1, 2009
Messages
223
Hey all,

I found a great solution on this forum (http://www.access-programmers.co.uk/forums/showthread.php?t=103312) to enable me to filter a subform based on text boxes in a form. However, I would like to (need to!) use the autofilters in the subform. By this I mean the ones on the heading of the columns, like you get in Excel. Is there anyway to achieve this? or does the unique way in which this query works prevent me from doing this?

Many thanks,
-NS
 
You can use the autofilters in the datasheet but you have no control (at least I've never seen that ability) over them.
 
Thanks Bob, however I'm not sure you know what I mean. I;ve uploaded 2 pics..

The first is what it looks like when using the query
accessi.jpg
accessi.jpg


The second is what I would like it to look like.
access2x.jpg
access2x.jpg


Thanks,
-NS
 
Thanks Bob....

The pic below is what happens with the query.
attachment.php


The pic below is what I would like to happen (and does happen when I dont use the query).
attachment.php


Thanks,
-NS
 

Attachments

  • Access.jpg
    Access.jpg
    19.1 KB · Views: 260
  • Access2.jpg
    Access2.jpg
    40.4 KB · Views: 247
That's correct because of Multi-select field behavior.
 
Thanks for confirming Bob. Please can I ask you this..

As I cannot select multiple Surnames using the autofilter, is there a way I can do it from a form control? I know how to refer to text and combo boxes but these obviously only allow you to select one Surname. I'm aware of List boxes but have no idea if this is the right solution or how to implement them!

Any help or nudge in the right direction would be great.

-NS
 
Last edited:

Users who are viewing this thread

Back
Top Bottom