M
Mac
I've imported Leban's MonthCalendar into my A2K program, and generally it
works great. But I'm having a nagging problem I've not figured out. Several
of my forms have tab controls, and on those, I've placed 4-6 continuous
subforms. Since the subforms have a date field, I've inserted Leban's code
on the double click event. What I've noticed is that when I close the form,
I should return to a main menu but instead find the database shutting down
completely. If I remove the "On Load" and "On Unload" event procedures from
one or more of the subforms (which only has the calendar programming that I
imported), the problem goes away. I thought it might be related to a faulty
subform, but have rebuilt several of them with the same result. Running and
closing the subforms alone gives no problem. I've reread the instructions
for MonthCalendar, but found nothing about use with subforms. Is there
something about classes being used this way that causes this behavior? I've
tried decompiling as well as rebuilding the whole program without effect.
works great. But I'm having a nagging problem I've not figured out. Several
of my forms have tab controls, and on those, I've placed 4-6 continuous
subforms. Since the subforms have a date field, I've inserted Leban's code
on the double click event. What I've noticed is that when I close the form,
I should return to a main menu but instead find the database shutting down
completely. If I remove the "On Load" and "On Unload" event procedures from
one or more of the subforms (which only has the calendar programming that I
imported), the problem goes away. I thought it might be related to a faulty
subform, but have rebuilt several of them with the same result. Running and
closing the subforms alone gives no problem. I've reread the instructions
for MonthCalendar, but found nothing about use with subforms. Is there
something about classes being used this way that causes this behavior? I've
tried decompiling as well as rebuilding the whole program without effect.