I did this:
- Add a TKADaoDatabase to the form, set its Database property to one of my old Access-97 mdb files, set Connected = true --> ok.
- Add a TKADaoTable to the form, set its Database property to the KADaoDatabase instance added, property TableName lists the names of the tables found in the mdb file, select one of them, set Active = true --> ok.
- Add a TDatasource and a TDBGrid and connect them in the usual way --> DBGrid displays the data of the selected table --> fine!
BUT:
- Trying to compile the project --> Error "Module was not found", raised in TKADaoDatabase.CreateOleDBEngine_II. No idea what's missing... I'm on Win-11. Maybe it does not support DAO any more? But why does it work at designtime?