J
jbas
Unregistered / Unconfirmed
GUEST, unregistred user!
下面的sql为什么总是不行,提示参数错误。ADO+access+D6+win2000
close;
sql.clear;
sql.Add('select DoMan,DoTime,DoCnt from 日志表 where DoTime between s and e');
parameters.ParamByName('Ds').Value:=ACs.ADstart;
parameters.ParamByName('De').Value:=ACs.ADend;
end;
try
execsql;
close;
sql.clear;
sql.Add('select DoMan,DoTime,DoCnt from 日志表 where DoTime between s and e');
parameters.ParamByName('Ds').Value:=ACs.ADstart;
parameters.ParamByName('De').Value:=ACs.ADend;
end;
try
execsql;