亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? sqltmp10.frm

?? 考勤系統(tǒng),智能判斷刷卡異常,是一大型ERP系統(tǒng)的一個(gè)分支
?? FRM
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
         Left            =   0
         Picture         =   "SQLtmp10.frx":0554
         Style           =   1  'Graphical
         TabIndex        =   17
         Top             =   0
         Width           =   735
      End
      Begin VB.PictureBox Picture1 
         Height          =   0
         Left            =   0
         ScaleHeight     =   0
         ScaleWidth      =   0
         TabIndex        =   16
         Top             =   0
         Width           =   0
      End
      Begin VB.CommandButton Command1 
         Caption         =   "導(dǎo)出"
         Height          =   500
         Index           =   3
         Left            =   2520
         Picture         =   "SQLtmp10.frx":0656
         Style           =   1  'Graphical
         TabIndex        =   15
         Top             =   0
         Width           =   735
      End
      Begin VB.CommandButton Command1 
         Caption         =   "刪除"
         Height          =   500
         Index           =   2
         Left            =   1680
         Picture         =   "SQLtmp10.frx":0960
         Style           =   1  'Graphical
         TabIndex        =   14
         Top             =   0
         Width           =   735
      End
      Begin VB.CommandButton Command1 
         Caption         =   "加班"
         Height          =   500
         Index           =   4
         Left            =   3360
         Picture         =   "SQLtmp10.frx":0A62
         Style           =   1  'Graphical
         TabIndex        =   13
         Top             =   0
         Width           =   735
      End
   End
End
Attribute VB_Name = "SQLtmp10"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit


Dim mDB As New mDB
'Dim strConn As String


Dim strSQL  As String
Dim WithEvents adoprimaryRS As ADODB.Recordset
Attribute adoprimaryRS.VB_VarHelpID = -1
Dim strSQL2  As String
Dim WithEvents adoprimaryRS2 As ADODB.Recordset
Attribute adoprimaryRS2.VB_VarHelpID = -1
Dim strSQL3  As String
Dim WithEvents adoPrimaryRS3 As ADODB.Recordset
Attribute adoPrimaryRS3.VB_VarHelpID = -1
Dim strSQL4  As String
Dim WithEvents adoPrimaryRS4 As ADODB.Recordset
Attribute adoPrimaryRS4.VB_VarHelpID = -1



Private Sub DataGrid1_HeadClick(ByVal ColIndex As Integer)
   'Sort by clicked column
   With adoprimaryRS2
     .Sort = .Fields(ColIndex).Name & " ASC"
   End With
   DataGrid1.Refresh


End Sub

Private Sub Form_Load()


'strConn = SQLcon


Set mDB = New mDB
mDB.InitDB_RY strConnDR



    strSQL = "select dptid,dptname from depart order by dptname asc"
Set adoprimaryRS = mDB.adoprimaryRS(strSQL)

With DataCombo1(0)
Set .RowSource = adoprimaryRS
    .BoundColumn = "dptid"
    .ListField = "dptname"
    .Refresh
End With
  

    strSQL = "select max(cdatetime) as maxdate from empcrdtm" '' order by begdate asc"
Set adoprimaryRS = mDB.adoprimaryRS(strSQL)
  DTPicker1(0).Value = Format(adoprimaryRS.Fields("maxdate").Value, "yyyy-mm-dd")  ''' Date
  DTPicker1(1).Value = DTPicker1(0).Value
  
'  DTPicker1(0).Value = Date
'  DTPicker1(1).Value = Date
  Option1(0).Value = True
  SETIMER1(0).Text = "00:00:01"
  SETIMER1(1).Text = "23:59:59"
    CenterForm Me
End Sub


Private Sub Form_Unload(Cancel As Integer)
  Screen.MousePointer = vbDefault
  
End Sub






Private Sub Command1_Click(Index As Integer)
  On Error GoTo AddErr
Select Case Index
Case 0  ''
''''''''=========================================
Screen.MousePointer = vbHourglass
sForm.A_MES "系統(tǒng)正在加載數(shù)據(jù),請(qǐng)稍候******"
''''''''=========================================
If Option1(0).Value Then
    If DataCombo1(0).BoundText = "" Then
'    strSQL2 = "select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid  and  cdatetime between  '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
    strSQL2 = "select dptname as 部門(mén),empcrdtm.emplyid as 工號(hào),emplyname as 姓名,cdatetime as 時(shí)間,inorout as 進(jìn)出,isovertime as 加班 from depart,emply,empcrdtm where depart.dptid=emply.dptid and emply.emplyid=empcrdtm.emplyid  and  cdatetime between  '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
    Else
'    strSQL2 = "select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid and emply.dptid=" & DataCombo1(0).BoundText & "and cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
    strSQL2 = "select dptname as 部門(mén),empcrdtm.emplyid as 工號(hào),emplyname as 姓名,cdatetime as 時(shí)間,inorout as 進(jìn)出,isovertime as 加班 from depart,emply,empcrdtm where depart.dptid=emply.dptid and emply.emplyid=empcrdtm.emplyid and emply.dptid=" & DataCombo1(0).BoundText & "and cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
    'strSQL2 = "select * from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'" & _
    '            " and emplyid in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
    End If
ElseIf Option1(1).Value Then
strSQL2 = "select dptname as 部門(mén),empcrdtm.emplyid as 工號(hào),emplyname as 姓名,cdatetime as 時(shí)間,inorout as 進(jìn)出,isovertime as 加班 from depart,emply,empcrdtm where depart.dptid=emply.dptid and emply.emplyid=empcrdtm.emplyid and emply.emplyid='" & Text1.Text & "' and cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
'strSQL2 = "select * from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & SETIMER1(1).Text & "'" & _
'            " and emplyid='" & Text1.Text & "'"   ''' in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
ElseIf Option1(0).Value And DataCombo1(0).BoundText = "" Then
strSQL2 = "select dptname as 部門(mén),empcrdtm.emplyid as 工號(hào),emplyname as 姓名,cdatetime as 時(shí)間,inorout as 進(jìn)出,isovertime as 加班 from depart,emply,empcrdtm where depart.dptid=emply.dptid and emply.emplyid=empcrdtm.emplyid  and  cdatetime between  '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"

End If
Set adoprimaryRS2 = mDB.adoprimaryRS(strSQL2)
  With DataGrid1
  .ClearFields
  Set .DataSource = adoprimaryRS2
'.Columns(0).DataField = "dptname"
'.Columns(1).DataField = "emplyid"
'.Columns(2).DataField = "emplyname"
'.Columns(3).DataField = "cdatetime"
'.Columns(4).DataField = "inorout"
'.Columns(5).DataField = "isovertime"
.Columns(0).width = 3000
.Columns(1).width = 1200
.Columns(2).width = 1200
.Columns(3).width = 2400
.Columns(4).width = 1200
.Columns(5).width = 1200
'.Columns(0).Caption = "部門(mén)"
'.Columns(1).Caption = "工號(hào)"
'.Columns(2).Caption = "姓名"
'.Columns(3).Caption = "打卡時(shí)間"
'.Columns(4).Caption = "進(jìn)/出"
'.Columns(5).Caption = "是否加班"
.Refresh
End With
Label2.Caption = adoprimaryRS2.RecordCount
Screen.MousePointer = 0
  
Case 1  '''

Case 2
If Option1(0).Value Then
    If DataCombo1(0).BoundText = "" Then
    If MsgBox("當(dāng)心,你將要?jiǎng)h除大量記錄!", vbYesNo, "newasia") = vbNo Then Exit Sub
    strSQL2 = "delete  from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"
    Else
    strSQL2 = "delete  from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'" & _
                " and emplyid in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
    End If
ElseIf Option1(1).Value Then
strSQL2 = "delete from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'" & _
            " and emplyid='" & Text1.Text & "'"   ''' in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
End If
Set adoprimaryRS2 = mDB.adoprimaryRS(strSQL2)
MsgBox "OK!"

Case 3
'Dim o As New ToExcel
'o.ToExcel adoPrimaryRS2, "newasia"
'Set o = Nothing
'Dim o As New cExcel
'o.ToExcel adoPrimaryRS2, "NewAsia"
'Set o = Nothing
'''''''''=========================================
'Screen.MousePointer = vbHourglass
'sForm.A_MES "系統(tǒng)正在加載數(shù)據(jù),請(qǐng)稍候******"
'''''''''=========================================
'If Option1(0).Value Then
'    If DataCombo1(0).BoundText = "" Then
'    strSQL2 = "insert 工號(hào),姓名,打卡時(shí)間,進(jìn)出,是否考勤  into kaoqin in ""PROVIDER=MSDataShape;Data PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\人員更新.mdb"" (select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid  and  cdatetime between  '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "')"  '' order by empcrdtm.emplyid,cdatetime"
'    Else
'    strSQL2 = "select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid and emply.dptid=" & DataCombo1(0).BoundText & "and cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
'    'strSQL2 = "select * from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'" & _
'    '            " and emplyid in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
'    End If
'ElseIf Option1(1).Value Then
'strSQL2 = "select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid and emply.emplyid='" & Text1.Text & "' and cdatetime between '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
''strSQL2 = "select * from empcrdtm where  cdatetime between '" & DTPicker1(0).Value & SETIMER1(0).Text & "' and '" & DTPicker1(1).Value & SETIMER1(1).Text & "'" & _
''            " and emplyid='" & Text1.Text & "'"   ''' in (select emplyid from emply where dptid=" & DataCombo1(0).BoundText & ")"
'ElseIf Option1(0).Value And DataCombo1(0).BoundText = "" Then
'strSQL2 = "select empcrdtm.emplyid,emplyname,cdatetime,inorout,isovertime from emply,empcrdtm where emply.emplyid=empcrdtm.emplyid  and  cdatetime between  '" & DTPicker1(0).Value & " " & SETIMER1(0).Text & "' and  '" & DTPicker1(1).Value & " " & SETIMER1(1).Text & "'"  '' order by empcrdtm.emplyid,cdatetime"
'
'End If
'Debug.Print strSQL2
'
'Set adoPrimaryRS2 = mDB.adoprimaryRS(strSQL2)
'
'Screen.MousePointer = 0

'        If Len(Dir(App.Path & "\tmp.rst")) Then
'        Kill App.Path & "\tmp.rst"
'        End If
'        adoPrimaryRS2.Save App.Path & "\tmp.rst"
'
'
'        adoPrimaryRS3.Open App.Path & "\tmp.rst", , adOpenStatic, adLockOptimistic, adCmdFile
'
'Debug.Print adoPrimaryRS3.RecordCount
'
If adoprimaryRS2.RecordCount > 32560 Then
MsgBox "對(duì)不起,數(shù)據(jù)量太大,不能導(dǎo)出到EXCEL。", vbOKOnly, "NewAsia"
Exit Sub
Else
ToExcel.ToExcel adoprimaryRS2, "newasia"
End If


Case 4
With adoprimaryRS2
.MoveFirst
Do While Not .EOF
.Fields("isovertime").Value = 1
.Update
.MoveNext
Loop
End With


End Select
  Exit Sub
AddErr:
  MsgBox Err.Description
Exit Sub
End Sub

    ''''=======================================================



?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲婷婷综合色高清在线| 一区二区三区日韩精品视频| 日本人妖一区二区| 国产福利一区二区| 欧美色爱综合网| 国产欧美视频一区二区| 天堂在线一区二区| 成人av免费在线| www日韩大片| 日韩av成人高清| 欧美丝袜第三区| 中文字幕在线观看一区| 国产成人午夜高潮毛片| 精品国产91洋老外米糕| 日韩精品电影在线观看| 欧美亚洲国产一卡| 国产精品成人在线观看| 高清日韩电视剧大全免费| 日韩一区二区三区高清免费看看| 亚洲欧美日韩国产手机在线| av一区二区三区| 欧美国产激情一区二区三区蜜月| 久久66热偷产精品| 精品国产sm最大网站免费看| 人禽交欧美网站| 91麻豆精品91久久久久同性| 亚洲一区免费视频| 欧美亚洲国产一区二区三区va | 高清国产一区二区| 日韩一级片在线播放| 日韩电影在线观看一区| 欧美久久久久中文字幕| 午夜私人影院久久久久| 欧美日韩成人在线一区| 午夜精品在线看| 67194成人在线观看| 日本不卡视频在线观看| 亚洲天堂福利av| a级高清视频欧美日韩| 亚洲欧洲国产日韩| 91性感美女视频| 亚洲一级不卡视频| 欧美日韩色一区| 男女激情视频一区| 欧美理论在线播放| 精品亚洲成a人| 欧美精品一区二区蜜臀亚洲| 丰满少妇久久久久久久| 亚洲欧美另类小说| 欧美老年两性高潮| 国产一区二三区好的| 中文一区在线播放| 色综合夜色一区| 婷婷综合在线观看| www国产精品av| 99re免费视频精品全部| 亚洲一区二区三区四区不卡| 日本成人超碰在线观看| 国产乱对白刺激视频不卡| 精品婷婷伊人一区三区三| 国产精品乱码一区二区三区软件 | 三级影片在线观看欧美日韩一区二区 | 亚洲视频图片小说| 成人激情小说乱人伦| 26uuu亚洲婷婷狠狠天堂| 青青草精品视频| 欧美日本一区二区在线观看| 1000精品久久久久久久久| 成人午夜免费视频| 久久精品人人做人人综合| 激情图区综合网| 精品国产一二三区| 韩国成人福利片在线播放| 欧美精品一区二区三区很污很色的| 青青国产91久久久久久| 69堂精品视频| 狠狠色丁香九九婷婷综合五月| 日韩一级免费一区| 国产精品自拍在线| 欧美国产日韩精品免费观看| 国产91丝袜在线播放0| 欧美极品aⅴ影院| 成人国产精品免费网站| 久久亚洲精品小早川怜子| 成人免费高清在线| 麻豆国产欧美日韩综合精品二区| 亚洲女爱视频在线| 中文字幕欧美激情一区| 日韩欧美中文字幕公布| 欧美天堂一区二区三区| 99国产精品99久久久久久| 久久se这里有精品| 亚洲午夜久久久久久久久久久| 国产日韩欧美在线一区| 精品日韩99亚洲| 欧美乱妇23p| 日本韩国精品一区二区在线观看| 成人免费视频视频在线观看免费 | 欧美福利视频一区| 一本色道a无线码一区v| 成人国产精品免费网站| 99久久夜色精品国产网站| 国内久久精品视频| 麻豆精品一区二区av白丝在线| 亚洲午夜在线观看视频在线| 亚洲免费观看高清| 中文字幕在线一区| 欧美极品aⅴ影院| 日本一区二区三级电影在线观看| 日韩欧美中文一区二区| 日韩一卡二卡三卡四卡| 欧美一级淫片007| 91精品国产综合久久久蜜臀粉嫩 | av不卡免费电影| 波波电影院一区二区三区| 成人福利视频网站| www.激情成人| 99国内精品久久| 色综合婷婷久久| 91美女福利视频| 日本高清不卡一区| 欧洲精品在线观看| 欧美视频中文字幕| 欧美日本乱大交xxxxx| 制服视频三区第一页精品| 日韩一区二区三区在线观看| 日韩欧美国产电影| 久久久久久一级片| 最新久久zyz资源站| 亚洲综合区在线| 美女视频免费一区| 国产成人av影院| 99re66热这里只有精品3直播| 色哟哟欧美精品| 欧美少妇bbb| 精品国产sm最大网站免费看| 中文字幕精品一区| 亚洲综合精品自拍| 麻豆精品在线观看| 99麻豆久久久国产精品免费| 欧美午夜精品久久久久久超碰 | 色天使色偷偷av一区二区| 色婷婷综合久色| 91精品国产欧美一区二区成人| 日韩免费高清av| ●精品国产综合乱码久久久久| 婷婷综合五月天| 豆国产96在线|亚洲| 精品视频一区二区三区免费| 精品国产91久久久久久久妲己| 国产精品天美传媒沈樵| 亚洲成人av福利| 国产激情视频一区二区在线观看| 91丨九色porny丨蝌蚪| 欧美一级艳片视频免费观看| 国产欧美日韩精品在线| 午夜久久电影网| bt7086福利一区国产| 日韩一区二区三区精品视频| 亚洲色图另类专区| 国内精品久久久久影院薰衣草| 91免费国产在线| 精品国产1区二区| 亚洲午夜久久久久久久久电影网| 国产福利电影一区二区三区| 欧美日韩国产另类不卡| 国产精品入口麻豆原神| 91美女片黄在线观看| 在线亚洲精品福利网址导航| 欧美日韩久久一区| 91精品国产色综合久久不卡电影| 日韩欧美激情在线| 中文字幕欧美三区| 亚洲一线二线三线久久久| 日韩精品91亚洲二区在线观看 | 中文字幕在线观看一区| 亚洲综合在线第一页| 蜜臀av一级做a爰片久久| 国产成人精品一区二| 在线亚洲一区观看| 日韩欧美视频一区| 国产精品进线69影院| 亚洲国产精品天堂| 国产露脸91国语对白| 91精彩视频在线观看| 日韩欧美一区二区久久婷婷| 国产日韩高清在线| 亚洲国产视频在线| 国产一区二区三区四| 91国偷自产一区二区开放时间 | 国产精品77777| 色网综合在线观看| 91精品久久久久久久久99蜜臂| 精品对白一区国产伦| 一区二区三区鲁丝不卡| 国产精品夜夜嗨| 欧美老年两性高潮| 亚洲人成精品久久久久| 精品一区二区三区香蕉蜜桃| 91久久一区二区|