Hello, I have a Database with lists of Clients in each.
Every year a new tables is created with the naming convention
"CloseYear"
ie close1999, close2000
There are tables from this year back to 1989.
I need to be able to
1) Go to a Search for
2) Enter Criteria -(Client_Last_Name) (Client_First_Name)
(File_Number)
3) Click Find button on form
4) Display Name of Table in which Criteria Matches on a mesage box or
output to a text file
Here is some of my psuedo code
Open Table Close89
search for criteria
If Found then Place table name in memory
Close Table close89
Open Table Close90
Search for criteria
If Found then Place table name in memory
Close Table Close90
loop until all tables searched
Here is a printout of the text file created by the current Database
Program
whe...Client_Last_Name of "Smith" is searched for
Search Criteria used: ==============
Client Last Name: "Smith"
Client First Name: ""
Search Type: "conservative"
current rec# = 471 of 543
Fields searched = 1.CLIENT & contents = Smith, Elijah
table name = 90close.db
================================================== =
current rec# = 472 of 543
Fields searched = 1.CLIENT & contents = Smith, Pamela N.
table name = 90close.db
================================================== =
current rec# = 473 of 543
Fields searched = 1.CLIENT & contents = Smith, Paul D.
table name = 91close.db
================================================== =
current rec# = 562 of 684
Fields searched = 1.CLIENT & contents = Smith, Alicia T.
table name = 91close.db
I need to be able to do this Access itself or VBA
Does anyone know how to Code this?