Gastrifitis
Board Regular
- Joined
- Sep 1, 2003
- Messages
- 66
I have 8 different fields tracking whether each job is done on that particular week or not. (It's an 8 week cycle.) If a particular job is done on week 5, for example, the field '5' would contain the number "5", otherwise it's blank.
I need to set up a query that only lists the particular week chosen from an option group. But there are 8 different fields, and if one already is set to filter by that field, it needs to stop. Only one of the 8 fields should be filtering at a time.
So, I either need to clear the criteria list for the query somehow each time it runs, or set criteria that's conditional based on the output from the option group. The last one I think would be better, but I have no idea how to do it. I'm sure there's a simple solution, but because I'm confused on which direction to go, I'm just not seeing it. Any ideas?
I need to set up a query that only lists the particular week chosen from an option group. But there are 8 different fields, and if one already is set to filter by that field, it needs to stop. Only one of the 8 fields should be filtering at a time.
So, I either need to clear the criteria list for the query somehow each time it runs, or set criteria that's conditional based on the output from the option group. The last one I think would be better, but I have no idea how to do it. I'm sure there's a simple solution, but because I'm confused on which direction to go, I'm just not seeing it. Any ideas?