AfterUpdate not working for ActiveX calendar control

R

rgrantz

I have a main form w/ a sub form. The main form has unbound controls that
set the criteria for the query results shown in the sub form. For the text
controls, I set the OnUpdate event events to fire the Me.refresh sub, and
these work. However, for the calendar control I have to use the
Records-->Refresh menu item to requery and show new records based on the
date chosen. I tried the following forthe AfterUpdate procedure for the
calendar control:

me.refresh
me.requery
docmd.runcommand.accmdrefresh


and a few others. I tried specifically referring to the subform control as
well.

Does anyone know what the deal is with automatically refreshing records once
a date is clicked on the calendar control?

Thanks for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top