Hi,
I have a query based on a table [Ftag Data tbl] that returns [RECORD DATE], a total of all records where [DATE COMPLETED] IS Null, and a total of all records where [DATE COMPLETED] is not null. The dates have the criteria of Between [Forms]![Chart_selection]![TxtBDate] And [Forms]![Chart_selection]![TxtEDate]
Which is a form i use to select criteria. My problem is that I need the totals to be grouped by month instead of showing all of the dates. My query is coded as follows:
then
then
Then
I just can't get this to group by month. I've attached a snapshot of my query if this helps. Thank you!
I have a query based on a table [Ftag Data tbl] that returns [RECORD DATE], a total of all records where [DATE COMPLETED] IS Null, and a total of all records where [DATE COMPLETED] is not null. The dates have the criteria of Between [Forms]![Chart_selection]![TxtBDate] And [Forms]![Chart_selection]![TxtEDate]
Which is a form i use to select criteria. My problem is that I need the totals to be grouped by month instead of showing all of the dates. My query is coded as follows:
Code:
Month: (Format([RECORD DATE],"mmm/yyyy")) Total: Group By
Code:
Open: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Null,1,0)) Total: Expression
Code:
Closed: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Not Null,1,0)) total: expression
Code:
Month([RECORD DATE]) Total: Group By, Sort: Ascending, Show: Unchecked, Criteria Between [Forms]![Chart_selection]![TxtBDate] And [Forms]![Chart_selection]![TxtEDate]
Comment