If you have this code
Code:
Me.Month = Format(Date, "mmmm")
you could be changing a the data in a field in a record to the month of the current date.
But show me all months of the year.
If you want to only display the months that match the current month, you need to set a form filter.
Something like:
Code:
Private Sub Form_Load()
Me.Filter = "cdMonth = '" & Format(Date, "mmmm") & "'" ' this is text, so it needs delimiters
Me.FilterOn = TRUE
End Sub
You should also add a button to the form to remove the filter.
If the button name is "cmdClearFilter",
Code:
Private Sub cmdClearFilter_Click()
Me.FilterOn = FALSE
End Sub
THIS CODE IS UNTESTED!