select * from table where scny>'200206' ;
解决方案 »
- 好吧,我承认我挫,BUTTON啊BITBTN啊这种按钮控件怎么没有BorderWidth属性的..
- Build with runtime packages的问题,
- 怎樣讓窗體打開的時候是最大化的
- 插入数据后立刻查询,返回数据条数总是少1条的问题
- 北京通审公司招聘delphi程序员
- 请问一个TREEVIEW的问题,为什么最后一个节点没有?
- 怎么样用tadotable控件插入一条记录呢
- Delphi6与Delphi5的区别。。。。。。。。。。。。。。。。。。。
- 求DELPHI下的好用报表控件
- 我新加入delphi阵营。我一事相求
- 能过OLE,如何实现数据导入Excel,生成指定类型的曲线??
- 用delphi5打不开delphi6的工程吗?
begin
TABLE1.DisableControls;
TABLE1.Filtered:=FALSE;
TABLE1.Filter:='姓名='+''''+EDIT1.Text+'''';
TABLE1.Filtered:=TRUE;
TABLE1.EnableControls;
end;procedure TForm3.SpeedButton2Click(Sender: TObject);
begin
TABLE1.DisableControls;
TABLE1.Filtered:=FALSE;
TABLE1.Filter:='';
TABLE1.Filtered:=TRUE;
TABLE1.EnableControls;
end;end.
当然,你先要对应好我程序里的TABLE和EDIT与你的编号相同。
where left(Ltrim(ym),4)+'.'+(case when len(Ltrim(ym))= 6 then '0'+right(Rtrim(ym,1)) else right(Rtrim(ym),2) end)
between
:s1 and :s2
看看这种思路行吗?
select * from table
where year(getdate())-cast(left(Ltrim(ym),4) as int)
between :bage and :eage2
[email protected]