我的程序之前未用数据模块程序运行正常,昨天我增加了一个数据模块之后再运行即报错,不知是何原因??
主窗体的cteate事件:
with Datamodal do
bgein
   adoconnection1.ConnectionString:='provider=microsoft.jet.oledb.4.0;data source=' + extractfilepath(application.ExeName) + '\humanage.mdb;';
adoquery.close;
adoquery.sql.clear;
adoquery.sql.add(SQL语句);
adoquery.open;
...
...
end;
adoconnection,adoquery这些都是数据模块上的组件,我的程序就是在主窗体加载时报错,大家是如何来调用数据模块的??