Originally Posted by
Siiig
Hey Bob,
I was looking at the DB you put together here. I tried to re-create it from scratch, just for practice, but got caught up on your OnRefresh.
What does that VB code to?
OnRefresh . Perhaps you mean:
Code:
Private Sub cmbGender_AfterUpdate()
Me.lstFNames.Requery
End Sub
This requeries the combo box which has criteria set in the SELECT statement of its Row Source property that restricts the data in the list box to records that have the same gender as that which is selected in the combo box