📄 frm_qstype.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_qstype
Caption = "权属类型设定 "
ClientHeight = 2730
ClientLeft = 60
ClientTop = 345
ClientWidth = 4050
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 2730
ScaleWidth = 4050
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 465
Left = 525
Top = 3255
Width = 1725
_ExtentX = 3043
_ExtentY = 820
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
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=db_wygl.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db_wygl.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_qstype"
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.CommandButton Command1
Caption = "确定"
Height = 405
Left = 2760
TabIndex = 3
Top = 1875
Width = 810
End
Begin VB.Frame Frame1
Caption = "权属类型添加"
Height = 2205
Left = 240
TabIndex = 0
Top = 180
Width = 3465
Begin VB.ComboBox Combo5
Height = 300
ItemData = "Frm_qstype.frx":0000
Left = 2535
List = "Frm_qstype.frx":000A
Style = 2 'Dropdown List
TabIndex = 11
Top = 1290
Width = 750
End
Begin VB.ComboBox Combo4
Height = 300
ItemData = "Frm_qstype.frx":0016
Left = 870
List = "Frm_qstype.frx":0020
Style = 2 'Dropdown List
TabIndex = 10
Top = 1320
Width = 765
End
Begin VB.ComboBox Combo3
Height = 300
ItemData = "Frm_qstype.frx":002C
Left = 2535
List = "Frm_qstype.frx":0036
Style = 2 'Dropdown List
TabIndex = 9
Top = 930
Width = 750
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "Frm_qstype.frx":0043
Left = 885
List = "Frm_qstype.frx":004D
Style = 2 'Dropdown List
TabIndex = 8
Top = 930
Width = 735
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Frm_qstype.frx":005A
Left = 990
List = "Frm_qstype.frx":0064
Style = 2 'Dropdown List
TabIndex = 1
Top = 435
Width = 2280
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "私有面积"
Height = 180
Left = 1785
TabIndex = 7
Top = 1260
Width = 720
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "公有面积"
Height = 180
Left = 135
TabIndex = 6
Top = 1335
Width = 720
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "使用面积"
Height = 180
Left = 1740
TabIndex = 5
Top = 960
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "建筑面积"
Height = 180
Left = 150
TabIndex = 4
Top = 930
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "权属类型:"
Height = 180
Left = 120
TabIndex = 2
Top = 480
Width = 900
End
End
End
Attribute VB_Name = "Frm_qstype"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Check1_Click()
End Sub
Private Sub Check2_Click()
End Sub
Private Sub Command1_Click()
Set adors = cn.Execute("insert into tab_qstype values('" & Trim(Combo1) & "','" & Trim(Combo2) & "','" & Trim(Combo3) & "','" & Trim(Combo4) & "','" & Trim(Combo5) & "')")
MsgBox "数据保存成功", 32, "管理信息系统"
Adodc1.Refresh
cn.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -