I have a combo box that has
SELECT DISTINCT MONTH(startTime) FROM tblHours
as the rowsource.
This is great, but only shows the month number
e.g. for January shows 1, February shows 2, etc.
How can I get a 2nd column in the combo box to show the month name e.g. January, February, etc.
I know I can't use the MONTHNAME function, so any other ideas would be greatly appreciated.
I'd like to do this in the rowsource if possible, but VBA code would be ok aswell.
Cheers
Gavin
SELECT DISTINCT MONTH(startTime) FROM tblHours
as the rowsource.
This is great, but only shows the month number
e.g. for January shows 1, February shows 2, etc.
How can I get a 2nd column in the combo box to show the month name e.g. January, February, etc.
I know I can't use the MONTHNAME function, so any other ideas would be greatly appreciated.
I'd like to do this in the rowsource if possible, but VBA code would be ok aswell.
Cheers
Gavin