工资管理系统数据图_工资管理系统实训报告_工资管理系统需求规格说明书(39)

电脑杂谈  发布时间:2017-02-09 18:12:37  来源:网络整理

+ Str(DTP1.Value) + "AND "

+ Str(DTP2.Value) + ""

Adodc2.Refresh End If If Check1(0).Value = 1 And Check1(1).Value = 1 Then Select Case Combo2.text Case Is = "like"

Adodc1.RecordSource = "select * from 工资发放查询 where (工资发放查询."

&

Combo1.text &

"

like%+ "

+ Text1.text + "+%and 工资发放查询.发放日期 between "

+ Str(DTP1.Value) + "AND "

+ Str(DTP2.Value) + ")"

Adodc1.Refresh Adodc2.RecordSource = "select sum(应发金额合计)as 应发金额合计 1,sum(应 扣金额合计)as 应扣金额合计 1,sum(实发金额)as 实发金额 1 from 工资发放查询 where (工资发放查询."

&

Combo1.text &

"

like +%+ "

+ Text1.text + "+%and 工资发 放查询.发放日期 between "

+ Str(DTP1.Value) + "AND "

+ Str(DTP2.Value) + ")"

Adodc2.Refresh Case Is = "="

Adodc1.RecordSource = "select * from 工资发放查询 where (工资发放查询."

&

Combo1.text &

"

= "

+ Text1.text + "and 工资发放查询.发放日期 between "

+ Str(DTP1.Value) + "AND "

+ Str(DTP2.Value) + ")"

Adodc1.Refresh Adodc2.RecordSource = "select sum(应发金额合计)as 应发金额合计 1,sum(应 扣金额合计)as 应扣金额合计 1,sum(实发金额)as 实发金额 1 from 工资发放查询 where (工资发放查询."

&

Combo1.text &

"

= "

+ Text1.text + "and 工资发放查询.发放日 期 between "

+ Str(DTP1.Value) + "AND "

+ Str(DTP2.Value) + ")"


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-31446-39.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 张俞
      张俞

      中国军事要坚定的强势发展

    • 耿孝凡
      耿孝凡

      这样的事件最好不好在发生了

    热点图片
    拼命载入中...