【VB开源代码栏目提醒】:本文主要为网学会员提供frm_xtbm.frm,希望对需要frm_xtbm.frm网友有所帮助,学习一下!
VERSION 5.00
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frm_BMtjcx
BorderStyle = 1 'Fixed Single
Caption = "部门统计查询"
ClientHeight = 4740
ClientLeft = 45
ClientTop = 330
ClientWidth = 8655
Icon = "frm_xtbm.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4740
ScaleWidth = 8655
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command3
Caption = "退出(&E)"
Height = 375
Left = 7095
TabIndex = 2
Top = 120
Width = 1335
End
Begin VB.CommandButton cmd_FB
Caption = "部门工时统计查询(&B)"
Height = 375
Left = 5115
TabIndex = 1
Top = 120
Width = 1995
End
Begin VB.Frame Frame1
Height = 3945
Left = 75
TabIndex = 0
Top = 600
Width = 8415
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 5400
Top = 3285
Visible = 0 'False
Width = 2775
_ExtentX = 4895
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=company"
OLEDBString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=company"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from 录入工时表"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "frm_xtbm.frx":0442
Height = 3585
Left = 90
TabIndex = 3
Top = 255
Width = 8205
_ExtentX = 14473
_ExtentY = 6324
_Version = 393216
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
End
End
Attribute VB_Name = "frm_BMtjcx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmd_FB_Click()
Dim str As String
str = InputBox$("输入你要查询的部门编号", "部门工时统计查询")
Adodc1.RecordSource = "select 部门编号,部门名称,部门总工时 from 录入工时表 where 部门总工时<>'' and 部门编号 like +'" & str & "'+'%'"
Adodc1.Refresh
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
上一篇:
frm_XSTJbb.frm
下一篇:
科研管理杂志简介