P
PowellGirlTN
I have a form where I'm filtering to find records by last name. To avoid
having to click on the command button, I tried to put this code in the On
Focus hoping that when the user tabs to the command button the records would
be found. It does bring in the records,however now the navigation button
doesn't work to view additional records with the same last name. How can I
get the tab to work, then allow the use of navigation buttons to view the
additonal records found. Thank you
DoCmd.ApplyFilter , "[LastName]= '" & txtLastName & "'"
having to click on the command button, I tried to put this code in the On
Focus hoping that when the user tabs to the command button the records would
be found. It does bring in the records,however now the navigation button
doesn't work to view additional records with the same last name. How can I
get the tab to work, then allow the use of navigation buttons to view the
additonal records found. Thank you
DoCmd.ApplyFilter , "[LastName]= '" & txtLastName & "'"