Dear All,
I have 82 fields on a form with 82 calander picker buttons. I can assign a value from the calander to the text box for all of these using the following as an example:
Private Sub cmdTryCalendar5_Click()
txtFeasFinish = adhDoCalendar((Me!txtFeasFinish))
End Sub.
However it doesn't look to good. What I want to do is to have one calander and say whichever field has the focus put the date in there. i.e. pass in the name of the active filed as a parameter you the calander knows which field to populate. Any ideas?
Cheers
Muzzy
I have 82 fields on a form with 82 calander picker buttons. I can assign a value from the calander to the text box for all of these using the following as an example:
Private Sub cmdTryCalendar5_Click()
txtFeasFinish = adhDoCalendar((Me!txtFeasFinish))
End Sub.
However it doesn't look to good. What I want to do is to have one calander and say whichever field has the focus put the date in there. i.e. pass in the name of the active filed as a parameter you the calander knows which field to populate. Any ideas?
Cheers
Muzzy