I would use just AfterUpdate events of input controls. I have never used Change event. It fires after each typed character in box.
I don't think should use Requery in each event - there are no parameters to requery for since the RecordSource is not a dynamic parameterized query. Need to call filter code. Put the filter code in a Sub that can be called by each event. Although not sure why it would be needed in Current event.
Code:
Private Sub School_Change()
Call SetFilter
End Sub
Private Sub Form_Current()
Call SetFilter
End Sub
Private Sub SetFilter()
...
End Sub
Me.Form is not necessary but doesn't hurt - Me. is adequate, as in:
Me.Requery
Me.Repaint (should this have been Requery?)
Me.InsideHeight
I would open the SpellDescription form with:
Code:
Private Sub Names_DblClick(Cancel As Integer)
DoCmd.OpenForm "SpellDescription", , , "Spellname='" & Me.Spellname & "'", acFormEdit
End Sub
And eliminate the filter code in SpellDescription open event:
Code:
Private Sub Form_Open(Cancel As Integer)
Me.SpellNames = Me!Spellname
End Sub
Why not have combobox on SpellDescription for selecting Spellname?
However, even after these changes, the issue persists. Records are not selectable after filter is applied. I was right about the Current event. Got rid of it and now it all works.