Edit calender code further

G

Guest

Private Sub Calendar5_Click()
findappoint.Value = Calendar5.Value
findappoint.SetFocus
Calendar5.Visible = True

What could I add to this code in order to refresh the form after the date is
selected. I have a filter for the date placed in an unbound box from the
calender, but you have to use a button to refresh the page every time a new
date is pressed. I would like to alleviate this extra step.
 
G

Greg G.

Aaveer said:
Private Sub Calendar5_Click()
findappoint.Value = Calendar5.Value
findappoint.SetFocus
Calendar5.Visible = True

What could I add to this code in order to refresh the form after the date is
selected. I have a filter for the date placed in an unbound box from the
calender, but you have to use a button to refresh the page every time a new
date is pressed. I would like to alleviate this extra step.

Behind the form in question,

me.requery

Place at the end of the even code that updates the filter.

FWIW,

Greg G.
 

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