?? 身份證驗證_馬濤制作2.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 Form2
Caption = "Form2"
ClientHeight = 4020
ClientLeft = 60
ClientTop = 450
ClientWidth = 6435
LinkTopic = "Form2"
ScaleHeight = 4020
ScaleWidth = 6435
StartUpPosition = 3 '窗口缺省
Begin MSAdodcLib.Adodc adoprovince
Height = 735
Left = 1200
Top = 1680
Width = 3135
_ExtentX = 5530
_ExtentY = 1296
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 = "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 MSDataListLib.DataCombo dcbnum
Bindings = "身份證驗證_馬濤制作2.frx":0000
DataSource = "adoprovince"
Height = 330
Left = 1320
TabIndex = 0
Top = 720
Width = 3135
_ExtentX = 5530
_ExtentY = 582
_Version = 393216
ListField = "號碼"
BoundColumn = "籍貫"
Text = "DataCombo1"
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Function query_province(ByRef a As String) As String
dcbnum.Text = a
dcbnum.Refresh
query_province = dcbnum.BoundText
End Function
Public Sub Form_Load()
Dim db_ad As String
db_ad = App.Path
If Right(db_ad, 1) <> "\" Then db_ad = db_ad & "\"
With Me!adoprovince
.Visible = False
.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & db_ad & "\infor\身份證號碼.mdb"
.CommandType = adCmdTable
.RecordSource = "表1"
.Refresh
End With
dcbnum.ListField = "號碼"
dcbnum.BoundColumn = "籍貫"
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -