Perhaps if we could solve one problem at a time. The use of a calendar
control is not related to your original question.
So, why is this control not bound? Surely if an appointment date is entered
(by whatever means) then you want to save it on the record, so surely the
control should be bound to a field? If so, then your original problem goes
away. If the appointment date is not bound, then what's the point in
entering it? It would simply be lost when the form was closed.
As for why the code doesn't work, you said that the form is in datasheet
view. An ActiveX control such as the calendar doesn't have a prayer of
working in datasheet view, because there is no way of displaying it. It
might work in continuous forms view.
Personally I never use ActiveX controls because of the "dll hell" problems
that can occur when deploying and supporting applications which use them.
This is a good alternative:
http://www.lebans.com/monthcalendar.htm
What's more, since this calendar pops up rather than being a control on the
form, it *might* work in datasheet view (although I've never tried it).
Why are you using a combo box when you want to provide a date picker? I'd
have thought that a text box would be perfectly adequate since you are
providing an alternative method of choosing a date (i.e. a calendar).