Hi AxeSess,
I agree with Sal but, depending on which column is bound in your cbox & how it's formatted, will require a little more modification.
I understand the training dates are not incremented day by day, thus, Date() may not correspond with a particular traing day...your cbox will not function correctly...
If the trainingday cbobox is bound to a sql statement, then in the "order by " clause, make it equal current month.
eg Dim iMonth as integer
iMonth = Month(Date)
OrderBy [cboTraingDay] = "Like 'iMonth/*/*'"
..at least you get the idea. Syntax may be off slightly, but the concept should be valid.
Hope this helps, (obviously, I took a lot for granted).
|