Tezcatlipoca
Registered User.
- Local time
- Today, 13:18
- Joined
- Mar 13, 2003
- Messages
- 246
...and unfortunately I don't know how, which is where you lovely people come in.
I'm trying to create a form which contains a number of list or combo boxes (never really understood the difference between the two), that allows users to select a number of different filters, then click a button and have all records in the database display with those filters in place.
Now I need each combo or list box to contain data from a certain field. Since new information is constantly being added, I cannot realistically type in the data to be displayed myself, as I'd need to update it almost constantly. I therefore elected to have Access gather the data from each field automatically. The problem is that when I create a list or combo box to do this, it lists every single occurance of information in the field (so if I'm working on a field that contains surnames, it lists the same surname multiple times). What I want, is for it to list every piece of data in the field, but to only list multiple occurances of the same data once (so my name field may well contain 376 Joe Bloggs', for example, but the list/combo box should only have Joe Bloggs appearing once).
Secondary to this, is there some sort of null value that can be added to the list in a list/combo box to tell Access not to bother with that filter? I'm thinking that a user may well select something - whether intentionally or accidentally - and then need to clear that selection so Access doesn't filter it when the button is pressed.
I'm trying to create a form which contains a number of list or combo boxes (never really understood the difference between the two), that allows users to select a number of different filters, then click a button and have all records in the database display with those filters in place.
Now I need each combo or list box to contain data from a certain field. Since new information is constantly being added, I cannot realistically type in the data to be displayed myself, as I'd need to update it almost constantly. I therefore elected to have Access gather the data from each field automatically. The problem is that when I create a list or combo box to do this, it lists every single occurance of information in the field (so if I'm working on a field that contains surnames, it lists the same surname multiple times). What I want, is for it to list every piece of data in the field, but to only list multiple occurances of the same data once (so my name field may well contain 376 Joe Bloggs', for example, but the list/combo box should only have Joe Bloggs appearing once).
Secondary to this, is there some sort of null value that can be added to the list in a list/combo box to tell Access not to bother with that filter? I'm thinking that a user may well select something - whether intentionally or accidentally - and then need to clear that selection so Access doesn't filter it when the button is pressed.