做了一个程序,通过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;