Secretgeek
Technical User
Good afternoon.
I have an Option group consisting of 4 options Q1, Q2, etc and a command button that I want to run a query whose criteria is based on the selection in the Option group.
The criteria should basically be:
If Q1 selected then choose records where [DateClosed] => 01/04/08 and <= 30/06/08
If Q2 selected then choose records where [DateClosed] => 01/07/08 and <= 30/09/08
etc, etc.
I'm normally alright with Access but I'm not familiar with this way of using queries and I've looked around the Forums but not come up with anything that seems to do the trick.
Any help or pointers would be much appreciated.
Regards
I have an Option group consisting of 4 options Q1, Q2, etc and a command button that I want to run a query whose criteria is based on the selection in the Option group.
The criteria should basically be:
If Q1 selected then choose records where [DateClosed] => 01/04/08 and <= 30/06/08
If Q2 selected then choose records where [DateClosed] => 01/07/08 and <= 30/09/08
etc, etc.
I'm normally alright with Access but I'm not familiar with this way of using queries and I've looked around the Forums but not come up with anything that seems to do the trick.
Any help or pointers would be much appreciated.
Regards