?? frm_qtfycx.frm
字號(hào):
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form Frm_qtfycx
Caption = "其他費(fèi)用管理器"
ClientHeight = 4095
ClientLeft = 60
ClientTop = 345
ClientWidth = 7155
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4095
ScaleWidth = 7155
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 2175
Top = 4395
Width = 1785
_ExtentX = 3149
_ExtentY = 582
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 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db_wygl.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db_wygl.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_othermoney"
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.Frame Frame3
Caption = "其他信息列表"
Height = 2700
Left = 105
TabIndex = 13
Top = 1335
Width = 6990
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "Frm_qtfycx.frx":0000
Height = 2235
Left = 75
TabIndex = 14
Top = 345
Width = 6825
_ExtentX = 12039
_ExtentY = 3942
_Version = 393216
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
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 = 8
BeginProperty Column00
DataField = "房間編號(hào)"
Caption = "房間編號(hào)"
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
BeginProperty Column02
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 Column03
DataField = "收費(fèi)標(biāo)準(zhǔn)"
Caption = "收費(fèi)標(biāo)準(zhǔn)"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "應(yīng)收金額"
Caption = "應(yīng)收金額"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "實(shí)收金額"
Caption = "實(shí)收金額"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "計(jì)費(fèi)起始日期"
Caption = "計(jì)費(fèi)起始日期"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column07
DataField = "計(jì)費(fèi)終止日期"
Caption = "計(jì)費(fèi)終止日期"
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
ColumnWidth = 824.882
EndProperty
BeginProperty Column01
ColumnWidth = 824.882
EndProperty
BeginProperty Column02
ColumnWidth = 764.787
EndProperty
BeginProperty Column03
ColumnWidth = 870.236
EndProperty
BeginProperty Column04
ColumnWidth = 824.882
EndProperty
BeginProperty Column05
ColumnWidth = 780.095
EndProperty
BeginProperty Column06
ColumnWidth = 1170.142
EndProperty
BeginProperty Column07
ColumnWidth = 1395.213
EndProperty
EndProperty
End
End
Begin VB.Frame Frame1
Height = 1215
Left = 75
TabIndex = 0
Top = 45
Width = 6990
Begin VB.Frame Frame2
Height = 990
Left = 5955
TabIndex = 8
Top = 120
Width = 945
Begin VB.CommandButton Command2
Caption = "退出"
Height = 345
Left = 90
TabIndex = 10
Top = 555
Width = 735
End
Begin VB.CommandButton Command1
Caption = "查詢"
Height = 360
Left = 90
TabIndex = 9
Top = 165
Width = 750
End
End
Begin VB.TextBox Text1
Height = 300
Left = 4485
TabIndex = 7
Top = 210
Width = 1290
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "Frm_qtfycx.frx":0015
Left = 3195
List = "Frm_qtfycx.frx":0017
Style = 2 'Dropdown List
TabIndex = 6
Top = 210
Width = 1290
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Frm_qtfycx.frx":0019
Left = 1695
List = "Frm_qtfycx.frx":0026
Style = 2 'Dropdown List
TabIndex = 5
Top = 210
Width = 1500
End
Begin VB.OptionButton Option2
Caption = "按計(jì)費(fèi)日期查詢"
Height = 330
Left = 90
TabIndex = 4
Top = 720
Width = 1575
End
Begin VB.OptionButton Option1
Caption = "請(qǐng)選擇查詢條件"
Height = 375
Left = 90
TabIndex = 3
Top = 210
Width = 1665
End
Begin MSComCtl2.DTPicker DTPicker2
Height = 315
Left = 4530
TabIndex = 1
Top = 690
Width = 1290
_ExtentX = 2275
_ExtentY = 556
_Version = 393216
Format = 50462721
CurrentDate = 38211
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 315
Left = 2460
TabIndex = 2
Top = 690
Width = 1290
_ExtentX = 2275
_ExtentY = 556
_Version = 393216
Format = 50462721
CurrentDate = 38211
End
Begin VB.TextBox Text2
Height = 285
Left = 2565
TabIndex = 15
Text = "Text2"
Top = 735
Width = 1080
End
Begin VB.TextBox Text3
Height = 270
Left = 4515
TabIndex = 16
Text = "Text3"
Top = 690
Width = 1185
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "結(jié)束日期"
Height = 180
Left = 3765
TabIndex = 12
Top = 765
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "起始日期"
Height = 180
Left = 1710
TabIndex = 11
Top = 765
Width = 720
End
End
End
Attribute VB_Name = "Frm_qtfycx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Combo2.AddItem ("=")
Combo2.AddItem (">")
Combo2.AddItem ("<")
Combo2.AddItem ("<>")
Combo2.AddItem ("like")
Combo2.ListIndex = 0
End Sub
Private Sub Option1_Click()
Combo1.Enabled = True
Combo2.Enabled = True
Text1.Enabled = True
DTPicker1.Enabled = False
DTPicker2.Enabled = False
Text1.SetFocus
End Sub
Private Sub Option2_Click()
DTPicker1.Enabled = True
DTPicker2.Enabled = True
Combo1.Enabled = False
Combo2.Enabled = False
Text1.Enabled = False
End Sub
Private Sub Command1_Click()
If Combo1.Enabled = True Then
If Combo2.Text = "like" Then
Adodc1.RecordSource = "select * from tab_othermoney where " & Combo1.Text & " like +'%" & Text1.Text & "%'"
Adodc1.Refresh
Else
Adodc1.RecordSource = "select * from tab_othermoney where " & Combo1.Text & " " & Combo2.Text & " '" & Text1.Text & "'"
Adodc1.Refresh
End If
Else
Adodc1.RecordSource = "select * from tab_othermoney where 計(jì)費(fèi)起始日期='" + Str(DTPicker1.Value) + "'and 計(jì)費(fèi)終止日期='" + Str(DTPicker2.Value) + "'"
Adodc1.Refresh
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -