看我的程序段:
var
x1:Tdate;
begin
x1:=strtodate('1999-01','yyyy-mm');
adoquery1.locate('sj',x1,[]);
end;运行时停在locate语句上,报“发生了未知错误”
var
x1:Tdate;
begin
x1:=strtodate('1999-01','yyyy-mm');
adoquery1.locate('sj',x1,[]);
end;运行时停在locate语句上,报“发生了未知错误”
调试欢乐多
x_set:=vararrayCreate([0,2],varolestr);
x_set[1]:=str1;
x_set[2]:=str2;
if not ADODataset1.Locate('titleno;x_note',x_set,[]) then