I need to compute a list of table names in a given database (MDB format), which have certain format (for example which contains DateTime field “Date Applied”). How can I do it?
Note: I am using Delphi 7, ADO components, Microsoft JET 4.0 to connect to MDB type Database.
A schema may suit:
Where
adSchemaColumns = 4
rs is a recordset object
cn a connection object
SelectFieldName is the column name, “Date Applied” in this case.
The constraints for this schema are:
Columns (fields) returned are:
— [Obtaining Schema Information from a Database](http://msdn.microsoft.com/en-us/library/kcax58fh(VS.80).aspx)