📄 frmoutput.frm
字号:
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "ywy"
Caption = "浏览"
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 MSDataListLib.DataCombo DataCombo1
Bindings = "frmOutput.frx":0015
DataField = "客户"
DataSource = "Adodc1"
Height = 330
Left = 4080
TabIndex = 0
Top = 360
Width = 1695
_ExtentX = 2990
_ExtentY = 582
_Version = 393216
ListField = "名称"
Text = "DataCombo1"
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 480
Top = 5760
Width = 1815
_ExtentX = 3201
_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=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "ck"
Caption = "浏览"
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 MSDataListLib.DataCombo DataCombo2
Bindings = "frmOutput.frx":002A
DataField = "业务员"
DataSource = "Adodc1"
Height = 330
Left = 4080
TabIndex = 11
Top = 1320
Width = 1695
_ExtentX = 2990
_ExtentY = 582
_Version = 393216
ListField = "姓名"
Text = "DataCombo1"
End
Begin MSAdodcLib.Adodc Adodc2
Height = 330
Left = 2160
Top = 5760
Visible = 0 'False
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=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "kehu"
Caption = "浏览"
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 MSAdodcLib.Adodc Adodc4
Height = 330
Left = 3960
Top = 5760
Visible = 0 'False
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=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "kcdh"
Caption = "浏览"
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 MSDataListLib.DataCombo DataCombo3
Bindings = "frmOutput.frx":003F
DataField = "批号"
DataSource = "Adodc1"
Height = 330
Left = 4080
TabIndex = 13
Top = 840
Width = 1695
_ExtentX = 2990
_ExtentY = 582
_Version = 393216
BackColor = 12632064
ListField = "批号"
BoundColumn = "批号"
Text = ""
End
Begin MSAdodcLib.Adodc Adodc5
Height = 330
Left = 4560
Top = 5400
Visible = 0 'False
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=wl.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from kcdh"
Caption = "浏览"
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.Label Label1
AutoSize = -1 'True
Caption = "批号"
Height = 180
Left = 3360
TabIndex = 14
Top = 840
Width = 360
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "业务员:"
Height = 180
Left = 3360
TabIndex = 12
Top = 1320
Width = 630
End
Begin VB.Label lblFactory
AutoSize = -1 'True
Caption = "客户:"
Height = 180
Left = 3360
TabIndex = 10
Top = 360
Width = 450
End
Begin VB.Label lblID
AutoSize = -1 'True
Caption = "编号:"
Height = 180
Left = 360
TabIndex = 9
Top = 360
Width = 450
End
Begin VB.Label lblInputDate
AutoSize = -1 'True
Caption = "出库日期:"
Height = 180
Left = 360
TabIndex = 8
Top = 1800
Width = 810
End
Begin VB.Label lblPrice
AutoSize = -1 'True
Caption = "单价(元):"
Height = 180
Left = 360
TabIndex = 7
Top = 840
Width = 810
End
Begin VB.Label lblCount
AutoSize = -1 'True
Caption = "数量:"
Height = 180
Left = 360
TabIndex = 6
Top = 1320
Width = 450
End
End
Attribute VB_Name = "frmOutput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdAddCustomer_Click()
Adodc2.Recordset.AddNew
End Sub
Private Sub cmdAddCustomerCancel_Click()
Adodc2.Recordset.Delete
End Sub
Private Sub cmdAddOutput_Click()
Adodc1.Recordset.AddNew
End Sub
Private Sub cmdCancelAddOutput_Click()
Adodc1.Recordset.Delete
End Sub
Private Sub cmdLogCancel_Click()
On Error Resume Next
Adodc1.Recordset.Delete
End Sub
Private Sub Command1_Click()
On Error Resume Next
Adodc1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
On Error Resume Next
Adodc1.Refresh
End Sub
Private Sub Command3_Click()
On Error Resume Next
Adodc1.Recordset.Save
End Sub
Private Sub DataCombo3_Change()
t1 = DataCombo3.Text
Adodc5.RecordSource = "select * from kcdh where 批号='" + t1 + "'"
Adodc5.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -