I have a query with a date field named 'Date_Entered By Month' in the format of 'mmyyyy' and the query is sorted by the date field. I want the format in the report to be "mmmmyyyy'. How do I write the format statement?
I have a query with a date field named 'Date_Entered By Month' in the format of 'mmyyyy' and the query is sorted by the date field. I want the format in the report to be "mmmmyyyy'. How do I write the format statement?
I'm going to ask a dumb question. Can you provide an example of a value formatted that way: "mmmmyyyy"? What do you expect to see? We can guess about it, but given that "mmmmyyyy" might mean a couple of different things, I'd like to know for sure what you expect to see.
Not sure I have followed your posts, but Reports have their own Sorting and Grouping which overrides query sort/group.
See attached. I have altered the design to use Report Group and Sort values.
The date format, whatever it is, is for HUMAN consumption. NEVER sort a formatted date unless it is in year, month, day order. ALWAYS sort the unformatted datetime field. If your data is not a real data but is just month and year, then you will have an easier time if you use two columns SomeYear, SomeMonth. Then you can sort on year and month but display as month and year. Also, never use year or month as column names. They will conflict with the Year() and Month() functions.