📄 frmdh1.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frmDH1
BorderStyle = 3 'Fixed Dialog
Caption = "进货订单信息"
ClientHeight = 7155
ClientLeft = 45
ClientTop = 330
ClientWidth = 6705
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7155
ScaleWidth = 6705
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 600
Top = 6600
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=My_Factory;Data Source=SMIC\TCSOFT"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=My_Factory;Data Source=SMIC\TCSOFT"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "dh"
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 Frame1
Caption = "其它信息:"
Height = 1692
Index = 3
Left = 120
TabIndex = 26
Top = 3960
Width = 6012
Begin VB.TextBox txtItem
Height = 1320
Index = 8
Left = 240
MaxLength = 200
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 28
Top = 240
Width = 5532
End
End
Begin VB.Frame Frame1
Caption = "商品信息:"
Height = 1452
Index = 2
Left = 120
TabIndex = 20
Top = 2400
Width = 6012
Begin VB.TextBox txtItem
Height = 276
Index = 7
Left = 3720
MaxLength = 200
MultiLine = -1 'True
TabIndex = 10
Top = 1080
Width = 2052
End
Begin VB.TextBox txtItem
Height = 270
Index = 6
Left = 1080
MaxLength = 20
TabIndex = 9
Top = 1080
Width = 1572
End
Begin VB.TextBox txtItem
DataSource = "Adodc1"
Height = 270
Index = 5
Left = 3720
MaxLength = 20
TabIndex = 8
Top = 720
Width = 2052
End
Begin VB.TextBox txtItem
Height = 270
Index = 4
Left = 1080
MaxLength = 20
TabIndex = 7
Top = 720
Width = 1572
End
Begin VB.TextBox txtItem
Height = 270
Index = 3
Left = 1080
MaxLength = 20
TabIndex = 5
Top = 360
Width = 1572
End
Begin VB.ComboBox Combo1
DataSource = "Adodc1"
Height = 288
Index = 2
Left = 3720
Style = 2 'Dropdown List
TabIndex = 6
Top = 360
Width = 2052
End
Begin VB.Label Label2
Caption = "订货金额:"
Height = 252
Index = 6
Left = 2880
TabIndex = 27
Top = 1080
Width = 1092
End
Begin VB.Label Label2
Caption = "折扣比例:"
Height = 252
Index = 2
Left = 360
TabIndex = 25
Top = 1080
Width = 1092
End
Begin VB.Label Label2
Caption = "订货单价:"
Height = 252
Index = 11
Left = 2880
TabIndex = 24
Top = 720
Width = 1092
End
Begin VB.Label Label2
Caption = "数 量:"
Height = 252
Index = 10
Left = 360
TabIndex = 23
Top = 720
Width = 1092
End
Begin VB.Label Label2
Caption = "商品代码:"
Height = 252
Index = 9
Left = 360
TabIndex = 22
Top = 360
Width = 1092
End
Begin VB.Label Label2
Caption = "商品名称:"
Height = 252
Index = 8
Left = 2880
TabIndex = 21
Top = 360
Width = 1092
End
End
Begin VB.Frame Frame1
Caption = "供应商信息:"
Height = 852
Index = 1
Left = 120
TabIndex = 17
Top = 1440
Width = 6012
Begin VB.TextBox txtItem
Height = 270
Index = 2
Left = 1200
MaxLength = 20
TabIndex = 3
Top = 360
Width = 1572
End
Begin VB.ComboBox Combo1
Height = 288
Index = 1
Left = 3720
Style = 2 'Dropdown List
TabIndex = 4
Top = 360
Width = 2052
End
Begin VB.Label Label2
Caption = "供应商名称:"
Height = 252
Index = 7
Left = 2880
TabIndex = 19
Top = 360
Width = 1092
End
Begin VB.Label Label2
Caption = "供应商代码:"
Height = 252
Index = 4
Left = 360
TabIndex = 18
Top = 360
Width = 1092
End
End
Begin VB.Frame Frame1
Caption = "订单基本信息:"
Height = 1212
Index = 0
Left = 120
TabIndex = 13
Top = 120
Width = 6012
Begin VB.TextBox txtItem
DataSource = "Adodc1"
Height = 270
Index = 1
Left = 1200
MaxLength = 20
TabIndex = 2
Top = 720
Width = 1572
End
Begin VB.ComboBox Combo1
DataSource = "Adodc1"
Height = 288
Index = 0
Left = 3720
Style = 2 'Dropdown List
TabIndex = 1
Top = 360
Width = 2052
End
Begin VB.TextBox txtItem
Height = 270
Index = 0
Left = 1200
MaxLength = 20
TabIndex = 0
Top = 360
Width = 1572
End
Begin VB.Label Label2
Caption = "订单号:"
Height = 252
Index = 5
Left = 360
TabIndex = 16
Top = 720
Width = 1092
End
Begin VB.Label Label2
Caption = "订货日期:"
Height = 252
Index = 0
Left = 360
TabIndex = 15
Top = 360
Width = 1092
End
Begin VB.Label Label2
Caption = "业务员:"
Height = 252
Index = 1
Left = 2880
TabIndex = 14
Top = 360
Width = 1092
End
End
Begin VB.CommandButton cmdExit
Caption = "返回 (&X)"
Height = 375
Left = 2880
TabIndex = 12
Top = 5760
Width = 1215
End
Begin VB.CommandButton cmdSave
Caption = "保存 (&S)"
Height = 375
Left = 1440
TabIndex = 11
Top = 5760
Width = 1215
End
End
Attribute VB_Name = "frmdh1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'是否改动过记录,ture为改过
Dim mblChange As Boolean
Dim mrc As ADODB.Recordset
Public txtSQL As String
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -