I have a table with four date fields - data requested [DReq], data received [DRec], search requested [SReq], search received [SRec]. (To aid understanding - we request data from a department internally to accompany a search request to an external department). I want to create a report to send to the external department to say "this is what we've requested from you [DReq]; this is what we've received from you [DRec]; and this is what we're about to send to you [SRec] & [SReq]."
I'd like, therefore, to group my report by the date fields, but I've only ever grouped reports on the results in a single field, not across multiple fields. The grouping I'm aiming for is:
[SRec] is not null - done and complete search
[SReq] is not null but [SRec] is null - searches requested but not received
[DRec] is not null but [SReq] is null - searches about to be sent through
[DReq] is not null but [DRec] is null - searches we will be sending through as soon as we receive the data internally.
Can I group within a single report, or do I have to create a subreport with a separate query for each subset of data?
I'd like, therefore, to group my report by the date fields, but I've only ever grouped reports on the results in a single field, not across multiple fields. The grouping I'm aiming for is:
[SRec] is not null - done and complete search
[SReq] is not null but [SRec] is null - searches requested but not received
[DRec] is not null but [SReq] is null - searches about to be sent through
[DReq] is not null but [DRec] is null - searches we will be sending through as soon as we receive the data internally.
Can I group within a single report, or do I have to create a subreport with a separate query for each subset of data?