X
xuzhic2001
Unregistered / Unconfirmed
GUEST, unregistred user!
程序如下:
with querytgsc1 do
begin
close;
sql.Clear;
sql.Add('select * from view_jishucanshu where expr1='''+dbediteh1.Text+''' order by 素材型号ID');
open;
first;
while not querytgsc1.Eof do
begin
.........
querytgsc1.next;///出现问题
end;
程序在运行到querytgsc1.next的时候出现‘connot perform this operation on a closed dataset’不知道哪出问题你了
with querytgsc1 do
begin
close;
sql.Clear;
sql.Add('select * from view_jishucanshu where expr1='''+dbediteh1.Text+''' order by 素材型号ID');
open;
first;
while not querytgsc1.Eof do
begin
.........
querytgsc1.next;///出现问题
end;
程序在运行到querytgsc1.next的时候出现‘connot perform this operation on a closed dataset’不知道哪出问题你了