初学Delphi,跟着书上做那个图书管理系统,在读者类型管理模块出现了问题,Table1的DatabaseName属性设置为library, TableName设置为读者类型库.db, Active属性的值为true;
DataSource1的dataset值为Table1,此外还用到了一个TDBGrid组件(DataSource值为datasource1),4个TBitBtn组件(分别用于增加,删除,保存,关闭),添加到主模块,编译时出现的问题如下:
An error occured while attempting to initialize the Borland Database engine.
之前没加入时,该模块编译错误提示为:table1 cannot be opened.
以前的几个模块访问数据库都是成功的.