D
Derek Brown
Hi all
As advised by this newgroup, to keep current information on my forms
ComboBoxes subforms etc right up to date, I have used
Public Sub UpDateAll()
DoCmd.RunCommand acCmdSaveRecord
DBEngine.Idle dbRefreshCache
DoEvents
Forms![SchoolsForm]![Combo101].Requery
Forms![SchoolsForm]!Combo169.Requery
Forms![SchoolsForm]![Combo80].Requery
Forms![SchoolsForm]![Combo182].Requery
Forms![SchoolsForm]![Combo90].Requery
Forms![SchoolsForm]![Combo194].Requery
Forms![SchoolsForm]![Combo190].Requery
Forms![SchoolsForm]![Combo227].Requery
Forms![SchoolsForm]![Combo86].Requery
Forms![SchoolsForm]![Combo82].Requery
End Sub
At the beginning of each data changeable controls after update property I
entre "UpDateAll"
Is there not an property on the whole form that I can entre "UpDateAll" so
that when any change to data takes place the whole form can be updated? It
seems I am making a lot of work for something I feel instintively that
Access should do with ease.
As advised by this newgroup, to keep current information on my forms
ComboBoxes subforms etc right up to date, I have used
Public Sub UpDateAll()
DoCmd.RunCommand acCmdSaveRecord
DBEngine.Idle dbRefreshCache
DoEvents
Forms![SchoolsForm]![Combo101].Requery
Forms![SchoolsForm]!Combo169.Requery
Forms![SchoolsForm]![Combo80].Requery
Forms![SchoolsForm]![Combo182].Requery
Forms![SchoolsForm]![Combo90].Requery
Forms![SchoolsForm]![Combo194].Requery
Forms![SchoolsForm]![Combo190].Requery
Forms![SchoolsForm]![Combo227].Requery
Forms![SchoolsForm]![Combo86].Requery
Forms![SchoolsForm]![Combo82].Requery
End Sub
At the beginning of each data changeable controls after update property I
entre "UpDateAll"
Is there not an property on the whole form that I can entre "UpDateAll" so
that when any change to data takes place the whole form can be updated? It
seems I am making a lot of work for something I feel instintively that
Access should do with ease.