Filter By Selection

Filters the data on a form by the last selected field.
' ***************** Code Start *******************
' Example by Terry Wickenden

Private Sub cmdFilterSelect_Click()
  Screen.PreviousControl.SetFocus
  DoCmd.RunCommand acCmdFilterBySelection
End Sub

' *****************  Code End  *******************
Return to Example List