PH,
This is a short version of my union query:
SELECT 'ADMIN' As TableName,Count(*) As NumberOfRecords FROM ADMIN
UNION SELECT 'AGING', Count(*) FROM AGING
UNION SELECT 'HISTORIAN', Count(*) FROM HISTORIAN
UNION SELECT 'LAW', Count(*) FROM LAW
UNION SELECT 'Legis', Count(*) FROM Legis
UNION SELECT 'VETERANS', Count(*) FROM VETERANS;
I would also like to query a field in that is in each of these tables named 'HISTORY' and only count entries where the HISTORY field is not null. What wording do I use and where do I insert it in the above sample? Can you help me out?