Hi
I'm using MS Access 2002 / VBA 6.
I've a database with several tables / forms, and some code. Everything is working fine.
I have 2 fields in each table. Each of these fields contain names from employees.
What I need to find among all these 2 fields, is the most common name (the one that appears the most) in both fields together.
Some of the fields may be empty.
I need to perform this with a button, and I would also like that the search would be made in ALL of the database (all the tables), which means that by clicking the button only one name would come as output (msgbox maybe).
Please help.
I'm using MS Access 2002 / VBA 6.
I've a database with several tables / forms, and some code. Everything is working fine.
I have 2 fields in each table. Each of these fields contain names from employees.
What I need to find among all these 2 fields, is the most common name (the one that appears the most) in both fields together.
Some of the fields may be empty.
I need to perform this with a button, and I would also like that the search would be made in ALL of the database (all the tables), which means that by clicking the button only one name would come as output (msgbox maybe).
Please help.
Comment