📄 ssalayer.frm
字号:
VERSION 5.00
Begin VB.Form ODBCLayer
Caption = "连接ODBC数据库"
ClientHeight = 4470
ClientLeft = 60
ClientTop = 345
ClientWidth = 5700
LinkTopic = "Form2"
ScaleHeight = 4470
ScaleWidth = 5700
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text6
Height = 375
Left = 1680
TabIndex = 12
Top = 2520
Width = 3375
End
Begin VB.CommandButton cancelbtn
Caption = "取消"
Height = 375
Left = 3120
TabIndex = 11
Top = 3840
Width = 1455
End
Begin VB.CommandButton okbtn
Caption = "确认"
Height = 375
Left = 1560
TabIndex = 10
Top = 3840
Width = 1455
End
Begin VB.TextBox Text5
Height = 375
Left = 1680
TabIndex = 9
Top = 3120
Visible = 0 'False
Width = 3375
End
Begin VB.TextBox Text4
Height = 375
Left = 1680
TabIndex = 8
Top = 1920
Width = 3375
End
Begin VB.TextBox Text3
Height = 375
Left = 1680
TabIndex = 7
Top = 1320
Width = 3375
End
Begin VB.TextBox Text2
Height = 375
Left = 1680
TabIndex = 6
Top = 720
Width = 3375
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 5
Top = 120
Width = 3375
End
Begin VB.Label MBRSearch
AutoSize = -1 'True
Caption = "MBRSearch"
Height = 180
Left = 720
TabIndex = 13
Top = 2640
Width = 810
End
Begin VB.Label Toolkit
AutoSize = -1 'True
Caption = "ToolKit"
Height = 225
Left = 840
TabIndex = 4
Top = 3120
Visible = 0 'False
Width = 630
End
Begin VB.Label Cache
AutoSize = -1 'True
Caption = "cashe"
Height = 180
Left = 1080
TabIndex = 3
Top = 2040
Width = 450
End
Begin VB.Label Query
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "Query"
Height = 180
Left = 1080
TabIndex = 2
Top = 1440
Width = 450
End
Begin VB.Label connectstring
AutoSize = -1 'True
Caption = "ConnectString"
Height = 180
Left = 360
TabIndex = 1
Top = 840
Width = 1170
End
Begin VB.Label name
AutoSize = -1 'True
Caption = "Name"
Height = 180
Left = 1200
TabIndex = 0
Top = 240
Width = 360
End
End
Attribute VB_Name = "ODBCLayer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cancelbtn_Click()
Text1 = ""
Text2 = ""
Text3 = ""
Text4 = ""
Text5 = ""
ODBCFlag = False
Unload Me
End Sub
Private Sub Form_Load()
Toolkit.Visible = False
Text5.Visible = False
If IsOracle = False Then
Text1 = "mapstats"
Text2 = "dsn=mapstats"
Text3 = "select * from us_cust"
Text4 = "on"
Text6 = "on"
Text5 = ""
Else
Text1 = "Oracle"
Text2 = "uid=system;pwd=manager;srvr=ZHANGYU"
Text3 = "select * from ASIACAPS"
Text4 = "on"
Text6 = "on"
Text5 = ""
End If
End Sub
Private Sub okbtn_Click()
ODBCFlag = True
Me.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -