Hi all
I have a form where you select a customer, then type in the first day of the month you require and again for the end date. The problem is the user has to know how many days there are in the month which not everyone can remember. It's also a long winded way.
I have an idea but not sure how to implement:
Have two combo boxes on the form, one where you select the year and the other one for the month.
The report uses a query for it's data. The query get's the date information using:
Between [Forms]![f_account_statements]![BeginningDate] And [Forms]![f_account_statements]![EndingDate]
My idea is the user selects the year and then the month, then using on AfterUpdate function it populates two unbound text boxes with say:
Year: 2009
Month: September
BeginningDate: 01/09/2009
EndingDate: 30/09/2009
I hope this makes sense and someone can help.
I have a form where you select a customer, then type in the first day of the month you require and again for the end date. The problem is the user has to know how many days there are in the month which not everyone can remember. It's also a long winded way.
I have an idea but not sure how to implement:
Have two combo boxes on the form, one where you select the year and the other one for the month.
The report uses a query for it's data. The query get's the date information using:
Between [Forms]![f_account_statements]![BeginningDate] And [Forms]![f_account_statements]![EndingDate]
My idea is the user selects the year and then the month, then using on AfterUpdate function it populates two unbound text boxes with say:
Year: 2009
Month: September
BeginningDate: 01/09/2009
EndingDate: 30/09/2009
I hope this makes sense and someone can help.