📄 main_kcgl_kcpd_ck.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form main_kcgl_kcpd_ck
BorderStyle = 3 'Fixed Dialog
Caption = "选择仓库"
ClientHeight = 1170
ClientLeft = 45
ClientTop = 330
ClientWidth = 4845
Icon = "main_kcgl_kcpd_ck.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1170
ScaleWidth = 4845
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin MSDataListLib.DataCombo DataCombo1
Bindings = "main_kcgl_kcpd_ck.frx":000C
Height = 330
Left = 855
TabIndex = 1
Top = 360
Width = 3720
_ExtentX = 6562
_ExtentY = 582
_Version = 393216
ListField = "仓库名称"
Text = "DataCombo1"
End
Begin MSAdodcLib.Adodc Adodc1
Height = 345
Left = -1020
Top = 765
Visible = 0 'False
Width = 1995
_ExtentX = 3519
_ExtentY = 609
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;Persist Security Info=False;User ID=sa;Initial Catalog=mr_material"
OLEDBString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=mr_material"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "tb_kw"
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.Label Label1
Caption = "仓库"
Height = 210
Left = 240
TabIndex = 0
Top = 450
Width = 525
End
End
Attribute VB_Name = "main_kcgl_kcpd_ck"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataCombo1_Click(Area As Integer)
ck = DataCombo1.text
End Sub
Private Sub Form_Load()
Adodc1.RecordSource = "tb_kw"
Adodc1.Refresh
If Adodc1.Recordset.RecordCount > 0 Then
Adodc1.Recordset.MoveFirst
DataCombo1.text = Adodc1.Recordset.Fields("仓库名称")
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -