ApplyFilter Method Example
The following example uses the ApplyFilter method to display only records that contain the name King in the LastName field:
DoCmd.ApplyFilter , "LastName = 'King'"