I
igg via AccessMonster.com
PatientTable contains thousands of patient records. subform current record
selection should for a given clinic ID, update the parent totalpatients text
box with total number of patients in good health. But the
update is slow. like to speed it up so that a current record selection,
updates the text box almost immediately.
Private Sub Form_Current()
Me.Parent.totalpatients = DCount("patient", "PatientTable", "patient='Good'
And ClinicID='" & Me.Parent.Clinic_ID & "'")
End Sub
selection should for a given clinic ID, update the parent totalpatients text
box with total number of patients in good health. But the
update is slow. like to speed it up so that a current record selection,
updates the text box almost immediately.
Private Sub Form_Current()
Me.Parent.totalpatients = DCount("patient", "PatientTable", "patient='Good'
And ClinicID='" & Me.Parent.Clinic_ID & "'")
End Sub