📄 客房帐务提本醒表.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"
Begin VB.Form 客房帐务提醒表
BorderStyle = 1 'Fixed Single
Caption = "客房帐务提醒表"
ClientHeight = 6930
ClientLeft = 45
ClientTop = 330
ClientWidth = 9600
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6930
ScaleWidth = 9600
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "关闭"
Height = 315
Left = 8205
TabIndex = 1
Top = 6540
Width = 870
End
Begin VB.Timer Timer1
Interval = 60000
Left = 2370
Top = 6510
End
Begin MSDataGridLib.DataGrid DataGrid1
Height = 6420
Left = 60
TabIndex = 0
Top = 45
Width = 9420
_ExtentX = 16616
_ExtentY = 11324
_Version = 393216
AllowUpdate = 0 'False
AllowArrows = 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 MSAdodcLib.Adodc Adodc19
Height = 330
Left = 45
Top = 6525
Visible = 0 'False
Width = 2010
_ExtentX = 3545
_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 = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc19"
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
End
Attribute VB_Name = "客房帐务提醒表"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Adodc19.ConnectionString = My_PROVIDER
Adodc19.CommandType = adCmdText
Adodc19.RecordSource = "select 帐号,房号,姓名,当前状态,平衡金额,预付款,费用类,房租,电话费,餐费,其他 from 住宿情况 where 平衡金额>=0 and 当前状态='入住'"
Adodc19.Refresh
Set DataGrid1.DataSource = Adodc19
DataGrid1.ReBind
DataGrid1.Refresh
End Sub
Private Sub Timer1_Timer()
Adodc19.ConnectionString = My_PROVIDER
Adodc19.CommandType = adCmdText
Adodc19.RecordSource = "select 帐号,房号,姓名,当前状态,平衡金额,预付款,费用类,房租,电话费,餐费,其他 from 住宿情况 where 平衡金额>=0 and 当前状态='入住'"
Adodc19.Refresh
Set DataGrid1.DataSource = Adodc19
DataGrid1.ReBind
DataGrid1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -