I have a database that is almost complete and I don't have time to make any drastic changes because I am leaving the country soon. I have a table, "tblEntity" with a field, "FiscalYearEnd". This field contains all of the months in a year using a drop down box so that it would be easier to choose a company's fiscal year end in a form or query. I did this in the Lookup tab in design view of "tblEntity". The "FiscalYearEnd" field has the following:
That's how I made the drop down box and it's been great because my boss doesn't have to type in each company's month.
- Display Control: combobox
- Row Source Type: Value List
- Row Source: "January";"February";"March";"April";"May";"June"; "July";"August";"September";"October";"November";" December"
I made a query and report based on each company's fiscal year end, which works fine. I grouped the report by each month, which also works.
HERE'S MY PROBLEM: I can only sort each month in either Ascending order (April, August, December, February, etc.) or Descending order (September, October, November, May, etc.).
I want to be able to sort the months in calendar order from January, Feb, March, April May and so on. I have tried a few different things but the only things I can think of are:
Does anybody have any suggestions as to how I can do this?
- Creating an entirely new table with the Month and an Autonumber from 1-12 (months) Which is something I DO NOT want to do because then I will have to redo all of my reports, queries, relationships, and forms.
- Using some sort of expression in a query
- Using some sort of Input Mask or Validation Rule in the Design of my "tblEntity"
Thanks a lot.
-Luke