先前针对VB6
DAO
文件使用的现有Access 95/97
.mdb
代码是否可用于Access 2007
(.accdb
)个数据库文件?< / p>
以下是否需要完成无缝迁移?
(1) Convert databases to 2007 format
(2) Run AccessDatabaseEngine.exe on the target machine
(3) In VB6 Project|References,
(a) Deselect Microsoft DAO 3.6 object library
(b) Select Microsoft Office 12 access database engine object library
(c) Select Microsoft Office 12 object library
(4) no special code changes needed when setting db objects