Tay
likes garlic
- Local time
- Today, 22:05
- Joined
- May 24, 2002
- Messages
- 269
I've been asked to improve functionality on a form that someone else has designed. Currently, there is a multi-column listbox that can be filtered by two option buttons. Checking one button will display all records, checking the other will display the top 100 records for the user who has logged in. The columns are 'data source', 'data stream', 3 x dates and user name. The set up is an Access front end and SQL server backend. The data in the listbox columns comes from four different tables.
I need to allow users to also filter on two of the columns within the listbox. So, users ought to be able to choose by 'data source' and all/my top 100 records or choose by 'data stream' and all/my top 100 records. I'd envisioned doing this by leaving the option buttons in place but also using two combos, one for 'data source' and one for 'data stream'.
Is it possible to allow filtering of the listbox, bearing in mind the search criteria aren't straightforward? And if so, will my approach work, or do I need to rethink how to do this? I've not got it to work so far, but this may be my (not quite good enough yet) vba skills rather than a logical fail.
I need to allow users to also filter on two of the columns within the listbox. So, users ought to be able to choose by 'data source' and all/my top 100 records or choose by 'data stream' and all/my top 100 records. I'd envisioned doing this by leaving the option buttons in place but also using two combos, one for 'data source' and one for 'data stream'.
Is it possible to allow filtering of the listbox, bearing in mind the search criteria aren't straightforward? And if so, will my approach work, or do I need to rethink how to do this? I've not got it to work so far, but this may be my (not quite good enough yet) vba skills rather than a logical fail.