您当前的位置:delphi教程 > Delphi数据库相关  > 一个数据库问题,进来就有分

一个数据库问题,进来就有分

做了一个程序,通过opendialog打开一个表,在装了delphi的机器上好用,在没有delphi的机器上不好用,打开dbf表是出现提示:an   error   occurred   while   attempting   to   initialize   the   borland   database   engine(error   $2109)  
  怎么办,请高手帮忙。  
  procedure   TForm1.Button1Click(Sender:   TObject);  
  begin  
  table1.Close;  
  if   opendialog1.Execute   then  
    begin  
    edit1.Text:=openDialog1.FileName;  
    table1.TableName:=edit1.Text;  
    table1.Active:=true;  
    with   listbox1   do  
        begin  
          items.Clear;  
          items:=table1.FieldList;  
        end;  
    end;  
  end;


查看回复
关于我们 | 网站地图 | 广告刊登 | 友情链接
Copyright ©2008 - 2010  Delphi2007.net  ,All Rights Reserved  粤ICP备09038647号
业务联系:allceoad#gmail.com QQ:20008835 最佳分辨率 1024×768