16,749
社区成员
发帖
与我相关
我的任务
分享
sqltr := 'select * from a where name = ''' + edt1.Text + '''' + ' and swx='
+ '''test'' and data1 >=' + '''2008-09-21''' + ' and data2 <=' + '''2009-01-01''';
with tbl1 do
begin
close;
filtered:=false;
Filter := 'name = ''' + edt1.Text + '''' + ' and swx=' + '''test''';
Filtered := true;
open;
end;