使用AdoConnection连接access数据库,使用AdoQuery关联AdoConnection。简要代码如下:  with adoquery1 do
  begin
      close;
      sql.clear;
      sql.Text:=' select part_number,input from  AIC_Inventory ';
      open;
  end;在执行open时就报错为 “*.exe raised exception class EOleException with message '指定的错误' ”。在该*.exe中,其它的界面采用一样的方式访问access数据,结果就是好的。所以,这到底是什么原因啊??