📄 frm_oldstemperspecbilldisposal.frm
字号:
VERSION 5.00
Begin VB.Form Frm_OldStemperSpecBillDisposal
BorderStyle = 1 'Fixed Single
Caption = "添加外卖母盘规格单时对以前数据的处理"
ClientHeight = 3615
ClientLeft = 6270
ClientTop = 4365
ClientWidth = 7155
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 3615
ScaleWidth = 7155
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000004&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 480
Left = 585
Picture = "Frm_OldStemperSpecBillDisposal.frx":0000
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 4
Top = 360
Width = 480
End
Begin VB.CommandButton cmd_Ok
Caption = "开始(&Start)"
Height = 495
Left = 1327
TabIndex = 1
Top = 3000
Width = 1935
End
Begin VB.CommandButton cmd_Exit
Caption = "退出(&Exit)"
Height = 495
Left = 3892
TabIndex = 0
Top = 3000
Width = 1935
End
Begin VB.Label Label3
Caption = "此操作只在初期第一次运行时使用,以后请不要再使用此项功能。在数据的导入过程会因数据量的不同有所变化,请耐心等待......."
ForeColor = &H000000FF&
Height = 375
Left = 1155
TabIndex = 5
Top = 420
Width = 5415
End
Begin VB.Label Label1
Caption = "1、在现有的母盘规格单中过滤“订单种类”为“外卖”的订单,并在Customer_Riches中查找此节目"
ForeColor = &H00FF0000&
Height = 615
Left = 750
TabIndex = 3
Top = 1200
Width = 5655
End
Begin VB.Label Label2
Caption = $"Frm_OldStemperSpecBillDisposal.frx":08CA
ForeColor = &H00FF0000&
Height = 615
Left = 750
TabIndex = 2
Top = 1920
Width = 5655
End
Begin VB.Line Line1
BorderColor = &H000000FF&
X1 = 120
X2 = 7020
Y1 = 2760
Y2 = 2760
End
End
Attribute VB_Name = "Frm_OldStemperSpecBillDisposal"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmd_Exit_Click()
Unload Me
End Sub
Private Sub cmd_OK_Click()
On Error GoTo err
Dim i As Integer
'1、打开客户财产表
Dim cnCustomer_Riches As ADODB.Connection
Dim rsCustomer_Riches As ADODB.Recordset
Set cnCustomer_Riches = New ADODB.Connection
Set rsCustomer_Riches = New ADODB.Recordset
cnCustomer_Riches.Open Cs
'2、打开旧的外卖母盘规格单备份表
Dim cnOldOutStemperSpecBillBack As ADODB.Connection
Dim rsOldOutStemperSpecBillBack As ADODB.Recordset
Set cnOldOutStemperSpecBillBack = New ADODB.Connection
Set rsOldOutStemperSpecBillBack = New ADODB.Recordset
cnOldOutStemperSpecBillBack.Open Cs
'3、打开外卖客户财产表
Dim cnOutCustomer_Riches As ADODB.Connection
Dim rsOutCustomer_Riches As ADODB.Recordset
Set cnOutCustomer_Riches = New ADODB.Connection
Set rsOutCustomer_Riches = New ADODB.Recordset
cnOutCustomer_Riches.Open Cs
'4、打开母盘规格单
Set Cn_Common = New ADODB.Connection
Set Rs_Common = New ADODB.Recordset
Cn_Common.Open Cs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -