M
myv
Unregistered / Unconfirmed
GUEST, unregistred user!
Var
i:Byte;
s:string;
str:string;
str:='Select * from "student.db" where Name<>"" ';
For i=1 to Strtoint(Length(Trim(Edit1.Text))) do
begin
s:=copy(TRim(Edit.Text),i,1);
str:=str+'and name like "'+s+'"';
end;
sql.add(str);
open
道谢!
i:Byte;
s:string;
str:string;
str:='Select * from "student.db" where Name<>"" ';
For i=1 to Strtoint(Length(Trim(Edit1.Text))) do
begin
s:=copy(TRim(Edit.Text),i,1);
str:=str+'and name like "'+s+'"';
end;
sql.add(str);
open
道谢!