Months in chronological order
Gentleman
I have decided to get of my arse and do something myself, based I hope on your suggestions. I have changed the following:
I have added a numberic field to my tblMONTHS. There are two fields now:
Number and Month I have enter 1 next to January, 2 next to February etc. I have also indexed the number field (is this OK?)
I have then changed everything related to the combo boxes using the tblMONTHS.
I now get a query that shows the number but still cannot get them in the correct order 1,2,3, etc.
Included are three screen shots, which I have had to zip as they would go over the 100kb limit.
The first screenshot shows the new tblMONTHS
The second screenshot shows the setup for the combo box, which is working fine. I can see only the months of the year, the numbers are hidden.
The third screenshot shows the result of a query. In the report, I have used the IIF function to change 1 January:
=IIF([CMONTH]=1,"January",IIF([CMONTH]=2,"February" etc, and this works fine. But I still cannot get the months to flow from January to December.
Where am I going wrong now?
Regards
Terence