📄 bankdatamake.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form BankDataMake
BorderStyle = 1 'Fixed Single
Caption = "信用社代扣生成窗口"
ClientHeight = 3975
ClientLeft = 45
ClientTop = 330
ClientWidth = 4500
Icon = "BankDataMake.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3975
ScaleWidth = 4500
Begin VB.Frame Frame2
Caption = "银行信息配置"
Height = 3570
Left = 4650
TabIndex = 11
Top = 15
Width = 3960
Begin VB.CommandButton Command1
Caption = "基本数据维护(&W)"
Height = 315
Left = 2190
TabIndex = 17
Top = 3045
Width = 1620
End
Begin VB.ComboBox Combo1
Height = 300
Left = 1440
Style = 2 'Dropdown List
TabIndex = 12
Top = 300
Width = 2310
End
Begin VB.Label Label9
BackColor = &H8000000E&
BorderStyle = 1 'Fixed Single
Caption = "Label7"
Height = 285
Left = 1470
TabIndex = 20
Top = 1815
Width = 1095
End
Begin VB.Label Label8
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Caption = "Label7"
Height = 300
Left = 1455
TabIndex = 19
Top = 1290
Width = 2340
End
Begin VB.Label Label7
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Caption = "Label7"
Height = 300
Left = 1440
TabIndex = 18
Top = 825
Width = 2355
End
Begin VB.Label Label6
Caption = "端口号:"
Height = 210
Left = 165
TabIndex = 16
Top = 1875
Width = 900
End
Begin VB.Label Label3
Caption = "服务器IP地址:"
Height = 240
Left = 135
TabIndex = 15
Top = 1365
Width = 1335
End
Begin VB.Label Label2
Caption = "服务器名称:"
Height = 285
Left = 120
TabIndex = 14
Top = 885
Width = 1125
End
Begin VB.Label Label1
Caption = "代扣银行:"
Height = 180
Left = 150
TabIndex = 13
Top = 390
Width = 1200
End
End
Begin VB.Frame Frame1
Caption = "数据发送"
Height = 1200
Left = 2685
TabIndex = 8
Top = 15
Width = 1725
Begin VB.OptionButton Option2
Caption = "联网发送"
Height = 210
Left = 210
TabIndex = 10
Top = 765
Width = 1305
End
Begin VB.OptionButton Option1
Caption = "发送软盘"
Height = 225
Left = 210
TabIndex = 9
Top = 420
Width = 1395
End
End
Begin MSComctlLib.ProgressBar P_bar
Height = 285
Left = 90
TabIndex = 7
Top = 3675
Width = 4335
_ExtentX = 7646
_ExtentY = 503
_Version = 393216
Appearance = 1
End
Begin VB.Frame Frame
Height = 3570
Index = 1
Left = 120
TabIndex = 5
Top = 0
Width = 2490
Begin VB.ListBox List_town
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3000
Left = 120
MultiSelect = 1 'Simple
TabIndex = 6
Top = 240
Width = 2250
End
End
Begin VB.Frame Frame
Caption = "数据生成"
Height = 2310
Index = 0
Left = 2685
TabIndex = 0
Top = 1260
Width = 1725
Begin VB.CommandButton cmd_select_part
Caption = "部分(&P)"
Height = 345
Left = 240
TabIndex = 4
Top = 765
Width = 1170
End
Begin VB.CommandButton cmd_exit
Caption = "关闭(&C)"
Height = 345
Left = 240
TabIndex = 3
Top = 1815
Width = 1200
End
Begin VB.CommandButton cmd_raise
Caption = "确定(&O)"
Height = 345
Left = 240
TabIndex = 2
Top = 1290
Width = 1185
End
Begin VB.CommandButton cmd_select_all
Caption = "全部(&A)"
Height = 330
Left = 255
TabIndex = 1
Top = 285
Width = 1170
End
End
Begin MSAdodcLib.Adodc Adotemp
Height = 330
Left = 2580
Top = -45
Visible = 0 'False
Width = 1815
_ExtentX = 3201
_ExtentY = 582
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 = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
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
End
Attribute VB_Name = "BankDataMake"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public co As Integer
Dim count_hz As Integer
Private Sub Combo1_Click()
OpenMdb
Set MdbR = NdMd.OpenRecordset("SELECT * FROM 银行配置 where Bank='" & Trim(Combo1.Text) & "'")
Label7.Caption = MdbR.Fields!Cname & ""
Label8.Caption = MdbR.Fields!Ip
Label9.Caption = MdbR.Fields!Port
End Sub
Private Sub Command1_Click()
BasicData.Show vbModal
End Sub
Private Sub Form_Load()
Dim temp_str As String '路径
Dim i As Integer '计数器
OpenMdb
Set MdbR = NdMd.OpenRecordset("银行配置")
If MdbR.RecordCount = 0 Then
MsgBox "请建立银行数据!", vbInformation
Unload Me
BasicData.Show vbModal
Exit Sub
Else
With MdbR
For i = 0 To .RecordCount - 1
Combo1.AddItem .Fields!Bank
.MoveNext
Next
Combo1.ListIndex = 0
End With
End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -