I have a table (MYTABLE) in ms access 2003 with the following columns: table name, columnname and count I would like to read through the table and dynamically create an SQL statement for each table and column, run the SQL to get the count and update the 'count' column in the table.
Eg
My table has
Tablename columnname count
PATIENT. AGE. 0
Generate SQL select Count(*) from PATIENT WHERE AGE IS NOT NULL
Update 'count' column in my table with the vaL of count