[DBNETLIB][ConnectionOpen (Connect()).]未找到指定的sql server。
开发工具delphi7+sql server 2000,数据库连接使用ado,
程序运行到如下代码处时,运行的很卡,报错如下:
“[DBNETLIB][ConnectionOpen (Connect()).]未找到指定的sql server。”
但是程序其他与数据库的操作都没有问题。
报错的代码断:
with ADOQuery1 do
begin
close;
sql.Clear;
sql.Add('select MAX(begin_time) as bt from product_change where
equip_no='+''''+ci+'''');
open;
end;
怀疑是不是数据库字段设计的问题。
请求大虾帮助,在线等!