N
nfy
Unregistered / Unconfirmed
GUEST, unregistred user!
Table1
DatabaseName c:/tishu/
TableName Zwye.db
DataSource1
DataSet Table1
Query1
DataSource DataSource1
DBGird1
DataSource DataSource1
var
i:integer;
Begin
For i:=1 to 9 do
begin
with Query1 do
begin
close;
sql.clear;
sql.add('select * from "H:/kczw/zw00'+IntToStr(i)+'/zwye2002.db"');
Prepare;
Open;
end;
end;
end;
为什么查询结果不返回到DBGird1中呢?怎么使查询结果返回到DBGird1中或Table1中
请指点!
DatabaseName c:/tishu/
TableName Zwye.db
DataSource1
DataSet Table1
Query1
DataSource DataSource1
DBGird1
DataSource DataSource1
var
i:integer;
Begin
For i:=1 to 9 do
begin
with Query1 do
begin
close;
sql.clear;
sql.add('select * from "H:/kczw/zw00'+IntToStr(i)+'/zwye2002.db"');
Prepare;
Open;
end;
end;
end;
为什么查询结果不返回到DBGird1中呢?怎么使查询结果返回到DBGird1中或Table1中
请指点!