【VB开源代码栏目提醒】:网学会员在VB开源代码频道为大家收集整理了Frm_Xxcx.frm提供大家参考,希望对大家有所帮助!
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Frm_Xxcx
BorderStyle = 1 'Fixed Single
Caption = "信息查询"
ClientHeight = 4785
ClientLeft = 45
ClientTop = 330
ClientWidth = 7305
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
ScaleHeight = 4785
ScaleWidth = 7305
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 345
Left = 225
Top = 4920
Width = 2820
_ExtentX = 4974
_ExtentY = 609
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
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 VB.Timer Timer1
Interval = 60
Left = 1545
Top = 4185
End
Begin MSDataGridLib.DataGrid Dgr_Cx
Bindings = "Frm_Xxcx.frx":0000
Height = 3645
Left = 75
TabIndex = 1
Top = 855
Width = 7155
_ExtentX = 12621
_ExtentY = 6429
_Version = 393216
AllowUpdate = 0 'False
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
Begin VB.Frame Frame1
Caption = "查询条件"
Height = 765
Left = 60
TabIndex = 0
Top = 30
Width = 7185
Begin VB.CommandButton Cmd_exit
Caption = "关闭"
Height = 315
Left = 6180
TabIndex = 6
Top = 315
Width = 900
End
Begin VB.CommandButton Cmd_Cancel
Caption = "取消"
Height = 315
Left = 5205
TabIndex = 5
Top = 315
Width = 900
End
Begin VB.TextBox Txt_cx
Height = 300
Left = 2685
TabIndex = 4
Top = 330
Width = 2445
End
Begin VB.ComboBox Cbx_tj
Height = 300
Left = 210
Style = 2 'Dropdown List
TabIndex = 2
Top = 315
Width = 1830
End
Begin MSComCtl2.DTPicker DT1
Height = 300
Left = 2685
TabIndex = 8
Top = 330
Width = 2445
_ExtentX = 4313
_ExtentY = 529
_Version = 393216
Format = 19791873
CurrentDate = 38702
End
Begin VB.Label Label1
Caption = "Like"
Height = 225
Left = 2145
TabIndex = 3
Top = 360
Width = 525
End
End
Begin VB.Label Label2
Height = 240
Left = 4800
TabIndex = 7
Top = 4560
Width = 2340
End
End
Attribute VB_Name = "Frm_Xxcx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer
Dim Coms As String
Private Sub Cbx_tj_Change()
Coms = Adodc1.Recordset.Fields(Cbx_tj.L