So, I have form with 3 fields: Primary_Chemical_Name, Secondary_Chemical_Name and Catalog_No. All Alphanumeric.
I want to make One text box for filtering the records. When the user writes the first charaters or numbers in the text box I want to automatically filter based on the entry in all fields. It is a given that none of the Fields are identical.
I realize I have to use On_exit or Lost_focus event and use the DoCmd.ApplyFilter on the text box. But I can't seem to get it to work.
I would like not to have a saved filter, but write it directly in the code. Will that work?
Thanks,
JJ
I want to make One text box for filtering the records. When the user writes the first charaters or numbers in the text box I want to automatically filter based on the entry in all fields. It is a given that none of the Fields are identical.
I realize I have to use On_exit or Lost_focus event and use the DoCmd.ApplyFilter on the text box. But I can't seem to get it to work.
I would like not to have a saved filter, but write it directly in the code. Will that work?
Thanks,
JJ