Good Afternoon All;
Is it possible to run a query on a date field with different criteria in one query?
I have a date filed in my main table which needs to work on the following date criteria in a report:
01/04/2017 to 30/06/2017 - Quarter 1
01/07/2017 to 30/09/2017 - Quarter 2
01/10/2017 to 31/12/2017 - Quarter 3
01/01/2018 to 31/03/2018 - Quarter 4
If I build a query for each quarter individually it works fine, but I am unsure how to join them together. I need to create a report that can report on all 4 quarters as above, is this possible?
In each individual query I have the record_id and the date criteria written like this:
between 01/04/2017 and 30/06/2017
between 01/07/2017 and 30/09/2017
between 31/12/2017 and 31/12/2017
between 01/01/2018 and 31/03/2018
Ideally I need my report to show count the number of records for each quarter and then give a total count at the end.
Your help once again is much appreciated.
Kind Regards
Tor Fey
Is it possible to run a query on a date field with different criteria in one query?
I have a date filed in my main table which needs to work on the following date criteria in a report:
01/04/2017 to 30/06/2017 - Quarter 1
01/07/2017 to 30/09/2017 - Quarter 2
01/10/2017 to 31/12/2017 - Quarter 3
01/01/2018 to 31/03/2018 - Quarter 4
If I build a query for each quarter individually it works fine, but I am unsure how to join them together. I need to create a report that can report on all 4 quarters as above, is this possible?
In each individual query I have the record_id and the date criteria written like this:
between 01/04/2017 and 30/06/2017
between 01/07/2017 and 30/09/2017
between 31/12/2017 and 31/12/2017
between 01/01/2018 and 31/03/2018
Ideally I need my report to show count the number of records for each quarter and then give a total count at the end.
Your help once again is much appreciated.
Kind Regards
Tor Fey