MackMan
Registered User.
- Local time
- Today, 15:54
- Joined
- Nov 25, 2014
- Messages
- 174
Combobox For "This Week" or "This Month" etc to populate 2 text boxes for filter OR.
I'm asking for some -more- help with a problem I have and reach out to the guru's of this forum...
As per the attached I have a very simple set up (so I thought) of a combo box and two text boxes. I'd like to be able to either select "This Week", "this Month" OR "Last Month" etc, to populate the two text boxes (both with start date and end date respectively, in order to filter a form or report.
I know a few things to get started but I'm not sure of how the code will look.
for example, obviously, I'll need the Date(), find first and last for this month, but what about last week, and next month? not as easy as I thought it would be if I'm honest. The combo box simplifies filtering as opposed to typing in the dates.
The text boxes can be entered with dates on an ad-hoc basis.
Any help, as always, is greatly appreciated.
I'm asking for some -more- help with a problem I have and reach out to the guru's of this forum...
As per the attached I have a very simple set up (so I thought) of a combo box and two text boxes. I'd like to be able to either select "This Week", "this Month" OR "Last Month" etc, to populate the two text boxes (both with start date and end date respectively, in order to filter a form or report.
I know a few things to get started but I'm not sure of how the code will look.
for example, obviously, I'll need the Date(), find first and last for this month, but what about last week, and next month? not as easy as I thought it would be if I'm honest. The combo box simplifies filtering as opposed to typing in the dates.
The text boxes can be entered with dates on an ad-hoc basis.
Any help, as always, is greatly appreciated.