📄 form1.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form1
BackColor = &H80000009&
Caption = "Form1"
ClientHeight = 4395
ClientLeft = 60
ClientTop = 345
ClientWidth = 5580
LinkTopic = "Form1"
ScaleHeight = 4395
ScaleWidth = 5580
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc Adodc1
Height = 495
Left = 2280
Top = 1920
Width = 2895
_ExtentX = 5106
_ExtentY = 873
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.3.51;Persist Security Info=False;Data Source=D:\X\0805大连办1.mdb"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=D:\X\0805大连办1.mdb"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
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.TextBox Text2
BackColor = &H00E3FBFB&
Height = 735
Left = 480
TabIndex = 3
Text = "Text2"
Top = 720
Width = 1935
End
Begin VB.CommandButton Command3
Caption = "Command3"
Height = 615
Left = 360
TabIndex = 2
Top = 1440
Width = 855
End
Begin VB.CommandButton Command2
Caption = "Command2"
Height = 975
Left = 2040
TabIndex = 1
Top = 3240
Width = 3375
End
Begin VB.TextBox Text1
BackColor = &H00BEE4E1&
Height = 495
Left = 360
TabIndex = 0
Text = "Text1"
Top = 240
Width = 3255
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
DisPlayQuery_SQL "select * from area", "A|B|C|D|E|F|", "", "ABC", 0, "1000|800|1200|", "0|0|1|0|"
End Sub
Private Sub Command2_Click()
Dim rst1 As New ADODB.Recordset
rst1.Open "select * from area", GetConnect, adOpenStatic, adLockReadOnly
DisPlayQuery_RST rst1, "A|B|", "", "ABC", "2000|800|1200|", "0|1|2|2|1|"
End Sub
Private Sub Command3_Click()
'Text1 = FindSqlCode("select code,name from area1", , "代号|名称|") & QuickTranArray(2)
'Text1 = FindOrder & QuickTranArray(2)
Text1 = FindSqlCodeDouble("select fullcode,ordername from Order_List", "fullcode", "ordername", "代号|名称|", "1000|2500|", "0|1|")
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -