📄 fzfsk.frm
字号:
_ExtentY = 873
AutoSize = 0 'False
MaskColor = 16777215
Transparent = -1 'True
End
Begin VB.TextBox Text6
BackColor = &H8000000F&
BorderStyle = 0 'None
DataField = "客人ID"
DataSource = "Data1"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 270
Left = 6600
Locked = -1 'True
TabIndex = 17
TabStop = 0 'False
Text = "Text6"
Top = 1395
Width = 1455
End
Begin MSComCtl2.DTPicker DTPicker1
DataField = "入住日期"
DataSource = "Data1"
Height = 300
Left = 3780
TabIndex = 0
Top = 1360
Visible = 0 'False
Width = 1380
_ExtentX = 2434
_ExtentY = 529
_Version = 393216
CalendarTitleBackColor= -2147483647
CalendarTitleForeColor= -2147483624
Format = 24838145
CurrentDate = 36874
End
Begin MSDBCtls.DBCombo DBCombo1
Bindings = "FZFSK.frx":3883
DataField = "证件类别"
DataSource = "Data1"
Height = 330
Left = 1680
TabIndex = 4
Top = 2520
Width = 1455
_ExtentX = 2566
_ExtentY = 582
_Version = 393216
IntegralHeight = 0 'False
Locked = -1 'True
MatchEntry = -1 'True
BackColor = -2147483633
ForeColor = -2147483635
ListField = "证件类别"
BoundColumn = "证件类别"
Text = ""
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = "Label3"
DataField = "入住日期"
DataSource = "Data1"
ForeColor = &H8000000D&
Height = 300
Left = 3720
TabIndex = 27
Top = 1360
Width = 1455
End
Begin VB.Line Line6
BorderColor = &H8000000E&
X1 = 8280
X2 = 8280
Y1 = 1680
Y2 = 5290
End
Begin VB.Line Line5
BorderColor = &H8000000E&
X1 = 240
X2 = 8280
Y1 = 5280
Y2 = 5280
End
Begin VB.Label Label4
Caption = "Label4"
DataField = "FPY"
DataSource = "Data1"
Height = 255
Left = 480
TabIndex = 24
Top = 1320
Visible = 0 'False
Width = 1095
End
Begin VB.Line Line3
BorderColor = &H8000000E&
X1 = 120
X2 = 8400
Y1 = 840
Y2 = 840
End
Begin VB.Line Line4
BorderColor = &H80000009&
X1 = 120
X2 = 120
Y1 = 840
Y2 = 5775
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "单位或住址:"
Height = 255
Index = 12
Left = 600
TabIndex = 22
Top = 3000
Width = 1215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "证件号码:"
Height = 255
Index = 10
Left = 3480
TabIndex = 21
Top = 2595
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "证件类别:"
Height = 255
Index = 9
Left = 600
TabIndex = 20
Top = 2595
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "性 别: "
Height = 255
Index = 8
Left = 3480
TabIndex = 19
Top = 2160
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "<大写>人民币"
ForeColor = &H8000000D&
Height = 255
Index = 7
Left = 3240
TabIndex = 18
Top = 3420
Width = 4575
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "附 注:"
Height = 255
Index = 6
Left = 600
TabIndex = 16
Top = 3840
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "日期:"
Height = 255
Index = 4
Left = 3270
TabIndex = 15
Top = 1440
Width = 615
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "国籍:"
Height = 255
Index = 3
Left = 6000
TabIndex = 14
Top = 2160
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "保 证 金:"
Height = 255
Index = 1
Left = 600
TabIndex = 13
Top = 3420
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "客人姓名:"
Height = 255
Index = 0
Left = 600
TabIndex = 12
Top = 2160
Width = 855
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "№"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Index = 1
Left = 6240
TabIndex = 11
Top = 1320
Width = 495
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "非住房散客登记表"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808000&
Height = 375
Index = 0
Left = 2760
TabIndex = 10
Top = 960
Width = 3015
End
Begin VB.Shape Shape2
BackColor = &H00C0E0FF&
BorderColor = &H80000010&
Height = 3615
Left = 240
Top = 1680
Width = 8055
End
Begin VB.Shape Shape1
BackColor = &H00C0E0FF&
BorderColor = &H80000010&
Height = 4935
Left = 120
Top = 840
Width = 8295
End
Begin VB.Menu MNU1
Caption = "文件(&F)"
Begin VB.Menu MNU11
Caption = "打印设置"
End
Begin VB.Menu MNU12
Caption = "打印预览"
End
Begin VB.Menu MNU13
Caption = "打印 "
Shortcut = ^P
End
Begin VB.Menu MNU15
Caption = "-"
End
Begin VB.Menu MNU16
Caption = "退出(&E)"
End
End
Begin VB.Menu MNU2
Caption = "编辑(&E)"
Begin VB.Menu MNU21
Caption = "增加 "
Shortcut = ^A
End
Begin VB.Menu MNU26
Caption = "修改"
Shortcut = ^E
End
Begin VB.Menu MNU23
Caption = "取消"
Enabled = 0 'False
Shortcut = ^U
End
Begin VB.Menu MNU28
Caption = "保存"
Enabled = 0 'False
Shortcut = ^S
End
Begin VB.Menu MNU24
Caption = "-"
End
Begin VB.Menu MNU22
Caption = "删除 "
Shortcut = ^D
End
End
Begin VB.Menu MNU3
Caption = "查看(&V)"
End
Begin VB.Menu MNU4
Caption = "计算器(&J)"
End
Begin VB.Menu MNU5
Caption = "帮助(&H)"
Begin VB.Menu MNU51
Caption = "帮助主题"
Shortcut = {F1}
End
Begin VB.Menu MNU52
Caption = "索引"
Enabled = 0 'False
End
Begin VB.Menu MNU53
Caption = "-"
End
Begin VB.Menu MNU54
Caption = "关于红日软件..."
End
End
End
Attribute VB_Name = "FZFSK"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim DATJDGL As Database
Dim RECHJZT As Recordset
Dim RECYD As Recordset
Dim RECKRZD As Recordset
Private Sub Combo1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{TAB}"
End Sub
Private Sub Combo3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{TAB}"
End Sub
Private Sub Combo4_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{TAB}"
End Sub
Private Sub Combo2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{TAB}"
End Sub
Private Sub Data1_Reposition()
Label3.Caption = Format(Label3.Caption, "LONG DATE")
If IsNumeric(Text5.Text) Then Text5.Text = FormatNumber(Text5.Text, 2, vbTrue, , vbFalse)
If IsNumeric(Text5.Text) Then
If CDbl(Text5.Text) <> 0 Then
Label2(7).Caption = "<大写>人民币" + SUMDM(CDbl(Text5.Text))
Else
Label2(7).Caption = "<大写>"
End If
End If
Data2.DatabaseName = App.Path & "\data\jdgl.mdb"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -