S
seeker
I have a form frmHealthStatsInitial which has a combo box cmbMemberName and a
subform subfrmHealthstats which is based on frmhealthstats. I want the
member chosen health stats to show in the subform but all data in the query
of subform shows. I have tried
Private Sub cmbMemberName_AfterUpdate()
subfrmHealthStats.Visible = True
subfrmHealthStats!MemberNumber = cmbMemberName.Value
subfrmHealthStats.Requery
End Sub
I have tried putting forms!frmhealthstatsinitial!cmbmembernumber in the
criteria of membernumber field in query that subform is based.
both ways do not filter data to a specific member. What am I missing.
Thanks.
subform subfrmHealthstats which is based on frmhealthstats. I want the
member chosen health stats to show in the subform but all data in the query
of subform shows. I have tried
Private Sub cmbMemberName_AfterUpdate()
subfrmHealthStats.Visible = True
subfrmHealthStats!MemberNumber = cmbMemberName.Value
subfrmHealthStats.Requery
End Sub
I have tried putting forms!frmhealthstatsinitial!cmbmembernumber in the
criteria of membernumber field in query that subform is based.
both ways do not filter data to a specific member. What am I missing.
Thanks.