I have a table in my database entitled, tblMonth which holds the names of most months, except for where quarters fall. The data goes January, February, 1st Quarter, April, May, 2nd Quarter, July, August, 3rd Quarter, October, November, 4th Quarter. I also have a Month ID field in the table, where the ID is 1 for January through 12 for 4th Quarter. I want the information to sort according to the Month ID field, thus January would show up first in a form control, and 4th Quarter would show up at the bottom, or last in the control (combo box). Here is what I have the Order By property in the table set to: tblMonth.[Month ID]
Anyone have any ideas as to what is wrong with this, or if there is a better way to sort the info? I don't really care how it is sorted on the table itself; I just want it to sort in the combo box on the form which is pulling the info from the tblMonth table.
Currently, the table is sorted by the Month ID field, but it is not sorting in the combo box on my form. So the real question is: how do I force the data in the Combo Box, cmbMonth, to sort by the Month ID field of the table?
Any input on this would be greatly appreciated.
Stephen
Anyone have any ideas as to what is wrong with this, or if there is a better way to sort the info? I don't really care how it is sorted on the table itself; I just want it to sort in the combo box on the form which is pulling the info from the tblMonth table.
Currently, the table is sorted by the Month ID field, but it is not sorting in the combo box on my form. So the real question is: how do I force the data in the Combo Box, cmbMonth, to sort by the Month ID field of the table?
Any input on this would be greatly appreciated.
Stephen