VB opendatabase 함수 형식 이해하기
페이지 정보
작성자
본문
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Name |
Required |
String |
the name of an existing Microsoft Access database engine database file, or the data source name (DSN) of an ODBC data source. See the Name property for more information about setting this value. |
Options |
Optional |
Variant |
Sets various options for the database, as specified in Remarks. |
ReadOnly |
Optional |
Variant |
True if you want to open the database with read-only access, or False (default) if you want to open the database with read/write access. |
Connect |
Optional |
Variant |
Specifies various connection information, including passwords. |
(예1) Set dbsNorthwind = wrkAcc.OpenDatabase("Northwind.mdb", True)
(예2) Set dbsNorthwind = wrkAcc.OpenDatabase("Northwind.mdb", True, False, ";PWD=abcdefg")
댓글목록
등록된 댓글이 없습니다.