These are untested but maybe you can incorporate some of this to your form. Not sure what the field name is. I used expire in this example.
Code:
Dim dtWarn as Date
dtWarn = Date + 30 'Determine the date for warnings
Dim strFilter as String
strFilter = "[expire] >= #" & dtWarn & "#"
Me.filterOn = False
Me.Filter = ""
Me.Filter = strFilter
Me.filterOn = True
This example should filter expirations between now and 30 days. I normally adjust the form's recordset but I believe between will work on the .Filter property.
Code:
Dim strShow As String
Dim dtWarn As Date
Dim dtToday As Date
Dim strFilter as String
dtWarn = Date + 30 'Determine the date for warnings
dtToday = Date
strFilter = " Between " & "#" & dtToday & "#" & " And " & "#" & dtWarn & "#"
Me.filterOn = False
Me.Filter = ""
Me.Filter = strFilter
Me.filterOn = True
Maybe you could combine the two and use a toggle button to switch between the two filters.