deejay_totoro
Registered User.
- Local time
- Today, 20:36
- Joined
- May 29, 2003
- Messages
- 169
Hello,
I would like to use the calendar (v9) to let users input a start date and an end date.
I created the startdate field and the enddate field to the store the date information.
What I would like to happen is that the user clicks on a button, and a calendar form opens up. Then the user clicks on a date, clicks close, and the original form returns, with the start date entered. The same would happen for the end date.
How might I start to do this? (I dont know VB very well!)
One idea I had (which doesnt work!) was the following:
When the user clicks on the open calendar button, a new form opens. This form is based on the same table as the underlying form, so, I thought that if the only thing on this form was the calendar, then choosing a date here would store the data correctly. The date is indeed sent to the date field correctly, and when I return to the original form, the date is there. But for some reason, this only works with the first record! It doesnt work with subsequent records!
Any help would be greatly appreciated!
dj_T
I would like to use the calendar (v9) to let users input a start date and an end date.
I created the startdate field and the enddate field to the store the date information.
What I would like to happen is that the user clicks on a button, and a calendar form opens up. Then the user clicks on a date, clicks close, and the original form returns, with the start date entered. The same would happen for the end date.
How might I start to do this? (I dont know VB very well!)
One idea I had (which doesnt work!) was the following:
When the user clicks on the open calendar button, a new form opens. This form is based on the same table as the underlying form, so, I thought that if the only thing on this form was the calendar, then choosing a date here would store the data correctly. The date is indeed sent to the date field correctly, and when I return to the original form, the date is there. But for some reason, this only works with the first record! It doesnt work with subsequent records!
Any help would be greatly appreciated!
dj_T