My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
AccessLimite  
Access数据库存储2G上限的非高效变通办法和链接表的绝对路径限制的变通方法
Updated Feb 4, 2010 by dragon...@gmail.com

Introduction

Microsoft Access 数据库 (.mdb) 文件大小 2G 字节减去系统对象所需的空间。

数据库中的对象个数 32,768
模块(包括“内含模块”属性为“是”的窗体和报表) 1,000 对象名称中的字符数 64 密码的字符个数 14 用户名或组名的字符个数 20 并发用户的个数 255

Details

1,手动拆分数据库,并把链接表的路径改为动态的绝对路径(原因是ACCESS的链接表只能使用绝对路径而非相对路径)

使用ADO方法程序在载入frmImport时自动检验和修改链接表的路径。

Using ADO to Refresh or Create an Access linked table to a Jet 4.0 database secured with a database password requires using: tbl.Properties("Jet OLEDB:Link Provider String") = "MS Access;Pwd=myPassword." If you do not specify the correct information for "Link Provider String," you might see the following error:

Error number -2147217843 Not a valid password.

2,复制导入的原表BN2..到链接表BN..:

3,清空原表BN2..,对主数据库进行压缩恢复

4,继续下一步数据操作

Powered by Google Project Hosting