Hhi,
I have a query that is currently returning what I want except my date field is ordered by jan/2011, jan/2012, feb/2011, feb/2012...
I need it to sort simply by the date:
jan/2011, feb/2011, mar/2011
Also, I have a form with two text boxes for the beginning date and ending date I wish to run the query on. Not working. Here is the query (based on a table named [Ftag Data tbl]:
Month: (Format([RECORD DATE],"mmm/yyyy")) total row has "Group By" and field is showing.
Open: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Null,1,0)) total row has "Expression"
Closed: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Not Null,1,0)) total row has "Expression"
Month([RECORD DATE]) Total row has "Group By" sort is Ascending, show is NOT checked
I want the date field to show MMM/yyyy and that is what its doing. I need the [RECORD DATE] to use the criteria of BETWEEN Forms![Chart_selection]![TxtBDate] AND Forms![Chart_selection]![TxtEDate]
When I add that criteria its not recognizing it. any help is appreciated
I have a query that is currently returning what I want except my date field is ordered by jan/2011, jan/2012, feb/2011, feb/2012...
I need it to sort simply by the date:
jan/2011, feb/2011, mar/2011
Also, I have a form with two text boxes for the beginning date and ending date I wish to run the query on. Not working. Here is the query (based on a table named [Ftag Data tbl]:
Month: (Format([RECORD DATE],"mmm/yyyy")) total row has "Group By" and field is showing.
Open: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Null,1,0)) total row has "Expression"
Closed: Sum(IIf([Ftag Data tbl]![DATE COMPLETED] Is Not Null,1,0)) total row has "Expression"
Month([RECORD DATE]) Total row has "Group By" sort is Ascending, show is NOT checked
I want the date field to show MMM/yyyy and that is what its doing. I need the [RECORD DATE] to use the criteria of BETWEEN Forms![Chart_selection]![TxtBDate] AND Forms![Chart_selection]![TxtEDate]
When I add that criteria its not recognizing it. any help is appreciated