📄 开台信息.frm
字号:
BackColor = &H80000006&
ForeColor = &H00FF00FF&
Height = 375
Left = 5160
Locked = -1 'True
TabIndex = 8
Top = 240
Width = 1695
End
Begin VB.TextBox Text4
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 1080
TabIndex = 7
Top = 720
Width = 1455
End
Begin VB.TextBox Text5
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 3240
TabIndex = 6
Top = 720
Width = 1335
End
Begin VB.TextBox Text6
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 5160
TabIndex = 5
Top = 720
Width = 1695
End
Begin VB.TextBox Text7
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 1080
TabIndex = 4
Top = 1200
Width = 2655
End
Begin VB.TextBox Text9
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 1080
TabIndex = 3
Top = 1680
Width = 5775
End
Begin VB.TextBox Text10
BackColor = &H80000007&
BeginProperty Font
Name = "幼圆"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 375
Left = 4560
TabIndex = 2
Top = 1200
Width = 2295
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "房台编号:"
Height = 195
Left = 120
TabIndex = 19
Top = 360
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "名称:"
Height = 195
Left = 2640
TabIndex = 18
Top = 360
Width = 540
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "部门:"
Height = 195
Left = 4680
TabIndex = 17
Top = 360
Width = 540
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "帐单编号:"
Height = 195
Left = 120
TabIndex = 16
Top = 840
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "人数:"
Height = 195
Left = 2640
TabIndex = 15
Top = 840
Width = 540
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "客人:"
Height = 195
Left = 4680
TabIndex = 14
Top = 840
Width = 540
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "消费方式:"
Height = 195
Left = 120
TabIndex = 13
Top = 1320
Width = 900
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "备注:"
Height = 195
Left = 480
TabIndex = 12
Top = 1800
Width = 540
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "时间:"
Height = 195
Left = 3960
TabIndex = 11
Top = 1320
Width = 540
End
End
End
End
Attribute VB_Name = "KTXX"
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 Command2_Click()
Dim tempSql As String
tempSql = "update 房台状态信息 set 就餐时间='" & _
Text10.Text & "',顾客姓名='" & Text6.Text & "',顾客数量='" & Text5.Text & _
"',帐单编号='" & Text4.Text & "',备注='" & Text9.Text & "',房台状态=1 where 房台编号='" & _
Text1.Text & "'"
Debug.Print tempSql
dbConn.Execute tempSql
'FTZD.Show 1
'Unload Me
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Form_Load()
Text10.Text = Format(Time, "hh:mm")
Adodc1.ConnectionString = dbConn.ConnectionString
Adodc1.RecordSource = "select * from 预定信息"
Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -