Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link Child Master using calender control as link master 1

Status
Not open for further replies.

JimFlower

Programmer
Jun 21, 2001
42
GB
I am using the calender control unbound as the link to a subform but I have to move the focus from the calender control before it will update the subform
 
What is it want want to happen? Have the subform update everytime you change the date on the calendar control without having to move focus from calendar control.

You can put code in either the AfterUpdate or OnChange of the Calendar which forces the Subform to requery.

Me.[Subform1].Form.Requery

Ensure that the Subform name i have in red is actually the name of the Subform control on your mainform.

Alec Doughty
Doughty Consulting P/L

"Life's a competition. Play hard, but play fair"
 
Just figured out I can get access to these events threw the vb editor as
they are not listed in the propertys window
it works thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top